mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 13:14:21 +01:00
SSH: update cli & overwrite commands (#1568)
* SSH: update cli & overwrite commands * add new lines * add new line v2
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 8.8.0
|
||||||
|
|
||||||
|
- Update Home Assistant CLI to 4.4.1
|
||||||
|
- Wrap system shutdown/reboot to supervisor
|
||||||
|
|
||||||
## 8.7.0
|
## 8.7.0
|
||||||
|
|
||||||
- Update Home Assistant CLI to 4.4.0
|
- Update Home Assistant CLI to 4.4.0
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
"i386": "homeassistant/i386-base:3.12"
|
"i386": "homeassistant/i386-base:3.12"
|
||||||
},
|
},
|
||||||
"args": {
|
"args": {
|
||||||
"CLI_VERSION": "4.4.0",
|
"CLI_VERSION": "4.4.1",
|
||||||
"LIBWEBSOCKETS_VERSION": "v3.2.2",
|
"LIBWEBSOCKETS_VERSION": "v3.2.2",
|
||||||
"TTYD_VERSION": "1.6.0"
|
"TTYD_VERSION": "1.6.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Terminal & SSH",
|
"name": "Terminal & SSH",
|
||||||
"version": "8.7.0",
|
"version": "8.8.0",
|
||||||
"slug": "ssh",
|
"slug": "ssh",
|
||||||
"description": "Allow logging in remotely to Home Assistant using SSH",
|
"description": "Allow logging in remotely to Home Assistant using SSH",
|
||||||
"url": "https://github.com/home-assistant/hassio-addons/tree/master/ssh",
|
"url": "https://github.com/home-assistant/hassio-addons/tree/master/ssh",
|
||||||
|
|||||||
@@ -1,2 +1,4 @@
|
|||||||
/usr/bin/hassio false root 0755 0755
|
/usr/bin/hassio false root 0755 0755
|
||||||
/usr/bin/ha 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
|
||||||
|
|||||||
5
ssh/rootfs/usr/local/bin/reboot
Normal file
5
ssh/rootfs/usr/local/bin/reboot
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/with-contenv bashio
|
||||||
|
# ==============================================================================
|
||||||
|
# This script overrides the reboot command to reboot the host machine.
|
||||||
|
# ==============================================================================
|
||||||
|
bashio::host.reboot
|
||||||
5
ssh/rootfs/usr/local/bin/shutdown
Normal file
5
ssh/rootfs/usr/local/bin/shutdown
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/with-contenv bashio
|
||||||
|
# ==============================================================================
|
||||||
|
# This script overrides the shutdown command to shutdown the host machine.
|
||||||
|
# ==============================================================================
|
||||||
|
bashio::host.shutdown
|
||||||
Reference in New Issue
Block a user