mirror of
https://github.com/aljazceru/addons.git
synced 2026-02-16 02:14:24 +01:00
Fix typo for "host reboot" command. (#154)
This commit is contained in:
committed by
Pascal Vizeli
parent
e3c60feafa
commit
1a5e48b909
@@ -14,7 +14,7 @@ HomeAssistant:
|
||||
$ hassio homeassistant update
|
||||
|
||||
Host:
|
||||
$ hassio host restart
|
||||
$ hassio host reboot
|
||||
$ hassio host shutdown
|
||||
$ hassio host update
|
||||
EOF
|
||||
@@ -48,7 +48,7 @@ fi
|
||||
######
|
||||
# host functions
|
||||
if [ "$1" == "host" ]; then
|
||||
hass_cmd=('restart' 'shutdown' 'update')
|
||||
hass_cmd=('reboot' 'shutdown' 'update')
|
||||
if [[ ! ${hass_cmd[*]} =~ $2 ]]; then
|
||||
echo "No host command '$2' found!"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user