Update linupx-scripts.sh

This commit is contained in:
2022-11-27 20:18:01 -06:00
parent 5269484446
commit 7db54ee56c

View File

@@ -360,10 +360,11 @@ REMOVEFLOPPY() {
echo ""
echo -e "${Green}Floppy has been removed, you must reboot to take effect.${Color_Off}"
read -n 1 -p "Would you like to reboot now (y/N)?" choice
read -n 1 -p -e "${Blue}Would you like to reboot now (y/N)?" choice
case "$choice" in
[Yy])
echo 'The system is now rebooting...'
echo
echo '${BOrange}The system is now rebooting...${Color_Off}'
if [ "$EUID" -ne 0 ]; then sudo shutdown -r now
else shutdown -r now; fi
sleep 60