SSH: update cli & overwrite commands (#1568)

* SSH: update cli & overwrite commands

* add new lines

* add new line v2
This commit is contained in:
Pascal Vizeli
2020-09-12 17:28:53 +02:00
committed by GitHub
parent 1fa1b4c468
commit a9010c898d
8 changed files with 22 additions and 5 deletions

View File

@@ -1,5 +1,10 @@
# Changelog
## 8.8.0
- Update Home Assistant CLI to 4.4.1
- Wrap system shutdown/reboot to supervisor
## 8.7.0
- Update Home Assistant CLI to 4.4.0

View File

@@ -7,7 +7,7 @@
"i386": "homeassistant/i386-base:3.12"
},
"args": {
"CLI_VERSION": "4.4.0",
"CLI_VERSION": "4.4.1",
"LIBWEBSOCKETS_VERSION": "v3.2.2",
"TTYD_VERSION": "1.6.0"
}

View File

@@ -1,6 +1,6 @@
{
"name": "Terminal & SSH",
"version": "8.7.0",
"version": "8.8.0",
"slug": "ssh",
"description": "Allow logging in remotely to Home Assistant using SSH",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/ssh",

View File

@@ -1,2 +1,4 @@
/usr/bin/hassio false root 0755 0755
/usr/bin/ha false root 0755 0755
/usr/local/bin/reboot false root 0755 0755
/usr/local/bin/shutdown false root 0755 0755

View File

@@ -0,0 +1,5 @@
#!/usr/bin/with-contenv bashio
# ==============================================================================
# This script overrides the reboot command to reboot the host machine.
# ==============================================================================
bashio::host.reboot

View File

@@ -0,0 +1,5 @@
#!/usr/bin/with-contenv bashio
# ==============================================================================
# This script overrides the shutdown command to shutdown the host machine.
# ==============================================================================
bashio::host.shutdown