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:
@@ -112,10 +112,8 @@ fi
|
||||
# Auto restart #
|
||||
################
|
||||
|
||||
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 bashio::addon.restart" /etc/openvpn/tunnelDown.sh
|
||||
chmod +x /etc/transmission/restart.sh
|
||||
sed -i "1a ./etc/transmission/restart.sh" /etc/openvpn/tunnelDown.sh
|
||||
|
||||
#######################
|
||||
# Run haugene scripts #
|
||||
|
||||
Reference in New Issue
Block a user