X-Git-Url: http://git.grml.org/?p=grml-rescueboot.git;a=blobdiff_plain;f=42_grml;h=30f1c0758bc9c18ee256abf44e5b0a11037db1d3;hp=08108a4aaf75f931a7be0404c04f3074fca7a83d;hb=700e01c3589c77af0f6bb3c0662ec6bd780c0f4b;hpb=0b031803d6dac439c13da92a83cbde301bbce9f3 diff --git a/42_grml b/42_grml index 08108a4..30f1c07 100755 --- a/42_grml +++ b/42_grml @@ -1,8 +1,7 @@ #!/bin/sh # Filename: 42_grml # Purpose: grub-mkconfig helper script for Grml rescue systems -# Authors: grml-team (grml.org), (c) Andreas Gredler , Michael Prokop -# Bug-Reports: see http://grml.org/bugs/ +# Authors: Grml team (grml.org), (c) Andreas Gredler , Michael Prokop # License: This file is licensed under the GPL v2+. ################################################################################ @@ -101,10 +100,11 @@ for grmliso in $iso_list ; do 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 "