summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-28 20:55:14 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:31:05 +0100
commit19fc3aa4ba1e94799fb4b49d07efbb5f98447a66 (patch)
treead1788ddb3cf8d927a44f2d951d8cc6b7bea608d /scripts
parent56ac3ff5ec3730d0dcf04d5af7145446a0143b9b (diff)
downloadlive-boot-19fc3aa4ba1e94799fb4b49d07efbb5f98447a66.tar.gz
live-boot-19fc3aa4ba1e94799fb4b49d07efbb5f98447a66.zip
Adjusting to live-initramfs.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live-bottom/24preseed10
1 files changed, 6 insertions, 4 deletions
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.