mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-09 23:50:07 +00:00
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/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
|
||||
|
Loading…
Reference in New Issue
Block a user