mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-27 08:14:17 +00:00
Update 99-run.sh
This commit is contained in:
1 parent
6b5a657036
commit
cfca0da894
1 file changed
+2
-4
@@ -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