X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F24preseed;h=a8f5a46070fc9d52cdb09b2d8d000187bc23442d;hb=abed552d5b2c6fbaaf18025f14cc8e00fa82508b;hp=3d0bdaf92494fb80f4fd26b2c52e24734041a558;hpb=1cf746fcad4a425b769c3e43e227277ca73c6ad4;p=live-boot-grml.git diff --git a/scripts/live-bottom/24preseed b/scripts/live-bottom/24preseed index 3d0bdaf..a8f5a46 100755 --- a/scripts/live-bottom/24preseed +++ b/scripts/live-bottom/24preseed @@ -52,10 +52,12 @@ then done fi -reply="$(echo "GET preseed/early_command" | chroot /root debconf-communicate -fnoninteractive casper)" -if [ "${reply#0 }" != "$reply" ]; then - reply="${reply#0 }" - sh -c "$reply" +reply="$(echo "GET preseed/early_command" | chroot /root debconf-communicate -fnoninteractive live-initramfs)" + +if [ "${reply#0 }" != "${reply}" ] +then + reply="${reply#0 }" + sh -c "${reply}" fi # Clear out debconf database backup files to save memory.