forked from srbala/fedora-kickstarts
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
This commit is contained in:
parent
b648168162
commit
51cfab9fee
@ -254,6 +254,8 @@ if strstr "\`cat /proc/cmdline\`" CDLABEL= ; then
|
|||||||
cat /sbin/halt > /dev/null
|
cat /sbin/halt > /dev/null
|
||||||
cat /sbin/reboot > /dev/null
|
cat /sbin/reboot > /dev/null
|
||||||
/usr/sbin/eject -p -m \$(readlink -f /dev/live) >/dev/null 2>&1
|
/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
|
FOE
|
||||||
chmod +x /sbin/halt.local
|
chmod +x /sbin/halt.local
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user