diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 0effb05..13bbd7a 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -265,7 +265,7 @@ GO_REBOOT() { read -n 1 -p " : " choice case "$choice" in [Yy]) #${adm}shutdown -r now - echo 'The system is now rebooting...' + echo '\n\nThe system is now rebooting...' sleep 60 exit 0;; * ) MAIN_MENU;; @@ -273,9 +273,11 @@ GO_REBOOT() { fi } SHUTDOWN() { - read -n 1 -p "Are you sure you wish to shutdown (y/N)?" choice + echo -e "\n${idsCL[LightCyan]}Are you sure you wish to shutdown?${idsCL[Default]}" + echo -en " ${idsCL[White]}(${idsCL[LightGreen]}Y${idsCL[White]})es ${idsCL[LightCyan]}/${idsCL[White]} (${idsCL[LightGreen]}*${idsCL[White]})any other key to cancel${idsCL[Default]}" + read -n 1 -p " : " choice case "$choice" in - [Yy]) ${adm}shutdown -h now + [Yy]) #${adm}shutdown -h now echo -e '\n\nThe system is now shutting down...' sleep 60 exit 0;;