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