mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update 99-run.sh
This commit is contained in:
@@ -123,7 +123,7 @@ ip route add 172.30.0.0/16 via 172.30.32.1
|
||||
|
||||
if bashio::config.true 'auto_restart'; then
|
||||
|
||||
bashio::log.info "Auto restarting addon if openvpn down for more than 1h"
|
||||
bashio::log.info "Auto restarting addon if openvpn down"
|
||||
chmod +x /usr/bin/restart_addon
|
||||
sed -i "1a /./usr/bin/restart_addon" /etc/openvpn/tunnelDown.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user