Update linupx-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user