add aliases in maintenance script

This commit is contained in:
buanet
2022-11-24 17:15:09 +01:00
parent b18d22ddf8
commit 5778c62097
2 changed files with 4 additions and 4 deletions

View File

@@ -290,7 +290,7 @@ fi
# extended debug output
if [[ "$debug" == "true" ]]; then
echo "[DEBUG] Some more ioBroker debug information"
echo "[DEBUG] Collecting some more ioBroker debug information..."
echo ' '
# get information and send to array
IFS=$'\n'

View File

@@ -227,7 +227,7 @@ for arg in "$@"; do
help|-h|--help)
run=(display_help)
;;
status)
status|stat|s)
run=(maintenance_status)
;;
on)
@@ -236,10 +236,10 @@ for arg in "$@"; do
off)
run=(disable_maintenance)
;;
upgrade)
upgrade|upgr|u)
run=(upgrade_jscontroller)
;;
restart)
restart|rest|r)
run=(restart_container)
;;
-y|--yes)