5 # initramfs-tools header
21 # live-initramfs header
23 . /scripts/live-functions
25 log_begin_msg "Loading preseed file..."
27 # live-initramfs script
29 if [ -e /preseed.cfg ]; then
30 chroot /root debconf-set-selections < /preseed.cfg
33 if [ -f "/root/${LOCATION}" ]; then
34 chroot /root debconf-set-selections < "/root/${LOCATION}"
37 if [ -n "${PRESEEDS}" ]; then
38 for preseed in ${PRESEEDS}; do
39 question="${preseed%%=*}"
41 live-preseed /root "${question}" "${value}"