mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Try root down
https://github.com/alexbelgium/hassio-addons/issues/435#issuecomment-1278170296
This commit is contained in:
@@ -113,7 +113,7 @@ fi
|
||||
################
|
||||
|
||||
sed -i "1d" /etc/openvpn/tunnelDown.sh
|
||||
sed -i "1i #!/usr/bin/bashio" /etc/openvpn/tunnelDown.sh
|
||||
sed -i "1i #!/usr/bin/sudo bashio" /etc/openvpn/tunnelDown.sh
|
||||
sed -i "1a bashio::log.warning 'Tunnel down, addon restarting'" /etc/openvpn/tunnelDown.sh
|
||||
sed -i "1a bashio::addon.restart" /etc/openvpn/tunnelDown.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user