diff options
| author | Daniel Baumann <daniel@debian.org> | 2012-04-06 12:05:51 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-04-06 12:05:51 +0200 |
| commit | f29e2a464be392830ca9953c4b472069fa3c2988 (patch) | |
| tree | 91feae9d0e6c165dcd82c2a3f98efa3908cef374 /scripts/live-bottom | |
| parent | f1087eb55a835f2b4adaaccea7b092e19a3ba6e3 (diff) | |
| download | live-boot-f29e2a464be392830ca9953c4b472069fa3c2988.tar.gz live-boot-f29e2a464be392830ca9953c4b472069fa3c2988.zip | |
Removing preseed bottom-script, a newly written one is now in live-config where this sort of things belong.
Diffstat (limited to 'scripts/live-bottom')
| -rwxr-xr-x | scripts/live-bottom/24preseed | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/scripts/live-bottom/24preseed b/scripts/live-bottom/24preseed deleted file mode 100755 index 85c6494..0000000 --- a/scripts/live-bottom/24preseed +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-boot header - -if [ -n "${NOPRESEED}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Loading preseed file" - -# live-boot script - -if [ -e /preseed.cfg ] -then - chroot /root debconf-set-selections < /preseed.cfg -fi - -if [ -n "${LOCATIONS}" ] -then - for item in ${LOCATIONS} - do - chroot /root debconf-set-selections < "/root${item}" - done -fi - -if [ -n "${PRESEEDS}" ] -then - for preseed in ${PRESEEDS} - do - question="${preseed%%=*}" - value="${preseed#*=}" - - live-preseed /root "${question}" "${value}" - done -fi - -reply="$(echo "GET preseed/early_command" | chroot /root debconf-communicate -fnoninteractive live-boot)" - -if [ "${reply#0 }" != "${reply}" ] -then - reply="${reply#0 }" - sh -c "${reply}" -fi - -# Clear out debconf database backup files to save memory. -rm -f /root/var/cache/debconf/*.dat-old - -log_end_msg - -exit 0 |
