Update linupx-scripts.sh
This commit is contained in:
@@ -246,7 +246,7 @@ GO_REBOOT() {
|
|||||||
[ "$EUID" -ne 0 ] && adm="SUDO " || adm=""
|
[ "$EUID" -ne 0 ] && adm="SUDO " || adm=""
|
||||||
if [ -f /opt/idssys/nodemgmt/.tmp/.skip ]; then
|
if [ -f /opt/idssys/nodemgmt/.tmp/.skip ]; then
|
||||||
echo -e "\n${idsCL[LightCyan]}NodeMgmt Skip is currently enabled: Should we disable that and reboot, or just reboot?${idsCL[Default]}"
|
echo -e "\n${idsCL[LightCyan]}NodeMgmt Skip is currently enabled: Should we disable that and reboot, or just reboot?${idsCL[Default]}"
|
||||||
echo -en "${idsCL[White]}(${idsCL[LightGreen]}Y${idsCL[White]})es / (${idsCL[LightGreen]}R${idsCL[White]})eboot / any other key to cancel${idsCL[Default]}"
|
echo -en "${idsCL[White]}(${idsCL[LightGreen]}Y${idsCL[White]})es ${idsCL[LightCyan]}/${idsCL[White]} (${idsCL[LightGreen]}R${idsCL[White]})eboot ${idsCL[LightCyan]}/${idsCL[White]} (${idsCL[LightGreen]}*${idsCL[White]}) any other key to cancel${idsCL[Default]}"
|
||||||
read -n 1 -p " : " choice
|
read -n 1 -p " : " choice
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
[Yy]) ${adm}/usr/local/bin/nmg skip reboot
|
[Yy]) ${adm}/usr/local/bin/nmg skip reboot
|
||||||
|
|||||||
Reference in New Issue
Block a user