Update 93-openvpn.sh

This commit is contained in:
Alexandre
2021-04-27 15:52:45 +02:00
committed by GitHub
parent 127d1c9450
commit 21397e7063

View File

@@ -25,10 +25,8 @@ if bashio::config.true 'openvpn_enabled'; then
chmod 600 /etc/openvpn/credentials
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
bashio::log.info "openvpn correctly set, qbittorrent will run tunnelled through openvpn"
#########################
# CONFIGURE QBITTORRENT #