mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04: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
|
||||
|
||||
## 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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
/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
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
/data/.bash_history false root 0600 0755
|
||||
/data/.bash_profile false root 0600 0755
|
||||
/data/.bash_profile false root 0600 0755
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
/data/.ssh false root 0644 0700
|
||||
/data/.ssh/authorized_keys false root 0600 0755
|
||||
/etc/ssh false root 0644 0755
|
||||
/etc/ssh false root 0644 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