#!/bin/sh
# Filename: 42_grml
# Purpose: grub-mkconfig helper script for Grml rescue systems
-# Authors: grml-team (grml.org), (c) Andreas Gredler <jimmy@grml.org>, Michael Prokop <mika@grml.org>
-# Bug-Reports: see http://grml.org/bugs/
+# Authors: Grml team (grml.org), (c) Andreas Gredler <jimmy@grml.org>, Michael Prokop <mika@grml.org>
# License: This file is licensed under the GPL v2+.
################################################################################
echo "Found Grml ISO image: $grmliso" >&2
title="Grml Rescue System ($grml)"
+ grub_prep=$(prepare_grub_to_access_device "$device" | sed -e "s/^/ /")
cat << EOF
menuentry "${title}" {
-$(prepare_grub_to_access_device "$device" | sed -e "s/^/ /")
+${grub_prep}
iso_path="${rel_dirname}/${grml}"
export iso_path
kernelopts=" $CUSTOM_BOOTOPTIONS $additional_param "