Update linupx-scripts.sh

This commit is contained in:
2022-11-27 20:44:21 -06:00
parent 5a2cecfcf9
commit 79eae7fa68

View File

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