mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02: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
|
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
|
chmod +x /usr/bin/restart_addon
|
||||||
sed -i "1a /./usr/bin/restart_addon" /etc/openvpn/tunnelDown.sh
|
sed -i "1a /./usr/bin/restart_addon" /etc/openvpn/tunnelDown.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user