diff options
| author | Daniel Baumann <daniel@debian.org> | 2007-09-28 20:55:14 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:31:05 +0100 |
| commit | 19fc3aa4ba1e94799fb4b49d07efbb5f98447a66 (patch) | |
| tree | ad1788ddb3cf8d927a44f2d951d8cc6b7bea608d /scripts | |
| parent | 56ac3ff5ec3730d0dcf04d5af7145446a0143b9b (diff) | |
| download | live-boot-19fc3aa4ba1e94799fb4b49d07efbb5f98447a66.tar.gz live-boot-19fc3aa4ba1e94799fb4b49d07efbb5f98447a66.zip | |
Adjusting to live-initramfs.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live-bottom/24preseed | 10 |
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. |
