Skip to content

Commit

Permalink
Adjusting to live-initramfs.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-baumann committed Sep 28, 2007
1 parent 1cf746f commit abed552
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/live-bottom/24preseed
Expand Up @@ -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.
Expand Down

0 comments on commit abed552

Please sign in to comment.