mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 08:35:57 +02:00
Update 93-openvpn.sh
This commit is contained in:
@@ -25,10 +25,8 @@ if bashio::config.true 'openvpn_enabled'; then
|
|||||||
chmod 600 /etc/openvpn/credentials
|
chmod 600 /etc/openvpn/credentials
|
||||||
|
|
||||||
sed -i 's/auth-user-pass.*/auth-user-pass \/etc\/openvpn\/credentials/g' /etc/openvpn/config.ovpn
|
sed -i 's/auth-user-pass.*/auth-user-pass \/etc\/openvpn\/credentials/g' /etc/openvpn/config.ovpn
|
||||||
bashio::log.info "openvpn correctly set, qbittorrent will run tunnelled through openvpn"
|
|
||||||
|
|
||||||
sed -i "1a\/etc/openvpn/up-qbittorrent.sh \"\${4}\" &\n" /etc/openvpn/up.sh
|
|
||||||
chmod +x /etc/openvpn/up.sh
|
chmod +x /etc/openvpn/up.sh
|
||||||
|
bashio::log.info "openvpn correctly set, qbittorrent will run tunnelled through openvpn"
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
# CONFIGURE QBITTORRENT #
|
# CONFIGURE QBITTORRENT #
|
||||||
|
|||||||
Reference in New Issue
Block a user