Adding upstream version 2.0~a2.
[live-boot-grml.git] / scripts / live-bottom / 24preseed
index 7dd6394..85c6494 100755 (executable)
@@ -18,7 +18,7 @@ case "${1}" in
                ;;
 esac
 
-# live-initramfs header
+# live-boot header
 
 if [ -n "${NOPRESEED}" ]
 then
@@ -29,7 +29,7 @@ fi
 
 log_begin_msg "Loading preseed file"
 
-# live-initramfs script
+# live-boot script
 
 if [ -e /preseed.cfg ]
 then
@@ -40,7 +40,7 @@ if [ -n "${LOCATIONS}" ]
 then
        for item in ${LOCATIONS}
        do
-               chroot /root debconf-set-selections < "/root${ITEM}"
+               chroot /root debconf-set-selections < "/root${item}"
        done
 fi
 
@@ -55,7 +55,7 @@ then
        done
 fi
 
-reply="$(echo "GET preseed/early_command" | chroot /root debconf-communicate -fnoninteractive live-initramfs)"
+reply="$(echo "GET preseed/early_command" | chroot /root debconf-communicate -fnoninteractive live-boot)"
 
 if [ "${reply#0 }" != "${reply}" ]
 then