mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-19 11:29:01 +02:00
add aliases in maintenance script
This commit is contained in:
2
debian/scripts/iobroker_startup.sh
vendored
2
debian/scripts/iobroker_startup.sh
vendored
@@ -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'
|
||||||
|
|||||||
6
debian/scripts/maintenance.sh
vendored
6
debian/scripts/maintenance.sh
vendored
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user