From 51cfab9fee0e2a745ca143317db010184c4468cf Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Mon, 8 Dec 2008 13:18:55 -0500 Subject: [PATCH] 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 --- fedora-live-base.ks | 2 ++ 1 file changed, 2 insertions(+) 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