Update linupx-scripts.sh
This commit is contained in:
@@ -361,9 +361,10 @@ REMOVEFLOPPY() {
|
|||||||
echo ""
|
echo ""
|
||||||
echo -e "${Green}Floppy has been removed, you must reboot to take effect.${Color_Off}"
|
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
|
case "$choice" in
|
||||||
[Yy]) echo
|
[Yy])
|
||||||
|
echo
|
||||||
echo
|
echo
|
||||||
echo -e "${BOrange}The system is now rebooting...${Color_Off}"
|
echo -e "${BOrange}The system is now rebooting...${Color_Off}"
|
||||||
if [ "$EUID" -ne 0 ]; then sudo shutdown -r now
|
if [ "$EUID" -ne 0 ]; then sudo shutdown -r now
|
||||||
|
|||||||
Reference in New Issue
Block a user