mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 99-run.sh
This commit is contained in:
@@ -115,7 +115,7 @@ fi
|
||||
sed -i "1d" /etc/openvpn/tunnelDown.sh
|
||||
sed -i "1i #!/usr/bin/bashio" /etc/openvpn/tunnelDown.sh
|
||||
sed -i "1a bashio::log.fatal 'Tunnel down, addon restarting'" /etc/openvpn/tunnelDown.sh
|
||||
sed -i "2a sudo su -s /usr/bin/bashio bashio::addon.restart" /etc/openvpn/tunnelDown.sh
|
||||
sed -i "2a bashio::addon.restart" /etc/openvpn/tunnelDown.sh
|
||||
|
||||
#######################
|
||||
# Run haugene scripts #
|
||||
|
||||
Reference in New Issue
Block a user