dialog --backtitle"$BACKTITLE"--title"Info"--colors--msgbox"\nYour default shell was switched to: \Z1BASH\Z0\n\nPlease logout & login from this session!" 9 47
dialog --backtitle"$BACKTITLE"--title"Info"--colors--msgbox"\nYour default shell was switched to: \Z1ZSH\Z0\n\nPlease logout & login from this session!" 9 47
fi
;;
# Firmware update
#
"Firmware")
...
...
@@ -806,7 +875,7 @@ function jobs ()
dialog --title" Desktop is enabled and running "--backtitle"$BACKTITLE"\
--yes-label"Stop"--no-label"Cancel"--yesno"\nDo you want to stop and disable this service?" 7 50
exitstatus=$?;
if[[$exitstatus= 0 ]];then
if[[$exitstatus= 0 ]];then
service nodm stop >/dev/null 2>&1 &&sed-i"s/^NODM_ENABLED=.*/NODM_ENABLED=false/" /etc/default/nodm