Adjusting to live-initramfs.
authorDaniel Baumann <daniel@debian.org>
Fri, 28 Sep 2007 18:55:14 +0000 (20:55 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:31:05 +0000 (17:31 +0100)
scripts/live-bottom/24preseed

index 3d0bdaf..a8f5a46 100755 (executable)
@@ -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.