fedora-live-base.ks | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 51cfab9fee0e2a745ca143317db010184c4468cf Author: Jeremy Katz katzj@redhat.com Date: Mon Dec 8 13:18:55 2008 -0500
Add a delay on ejecting (#474817)
The eject is at the end of the reboot and so people don't always have enough time to remove the CD. Add a delay to allow them to get the CD out
diff --git a/fedora-live-base.ks b/fedora-live-base.ks index b655e87..f8d34bc 100644 --- a/fedora-live-base.ks +++ b/fedora-live-base.ks @@ -254,6 +254,8 @@ if strstr "`cat /proc/cmdline`" CDLABEL= ; then cat /sbin/halt > /dev/null cat /sbin/reboot > /dev/null /usr/sbin/eject -p -m $(readlink -f /dev/live) >/dev/null 2>&1 +echo "Please remove the CD from your drive and press Enter to finish restarting" +read -t 30 < /dev/console FOE chmod +x /sbin/halt.local fi
spin-kickstarts-commits@lists.stg.fedorahosted.org