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 # extended debug output
if [[ "$debug" == "true" ]]; then if [[ "$debug" == "true" ]]; then
echo "[DEBUG] Some more ioBroker debug information" echo "[DEBUG] Collecting some more ioBroker debug information..."
echo ' ' echo ' '
# get information and send to array # get information and send to array
IFS=$'\n' IFS=$'\n'

View File

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