Update 93-openvpn.sh

This commit is contained in:
Alexandre
2021-04-23 22:36:51 +02:00
committed by GitHub
parent f319ab8f18
commit cb58bcf652

View File

@@ -20,9 +20,7 @@ if bashio::config.true 'openvpn_enabled'; then
echo "${openvpn_password}" >> /etc/openvpn/credentials
sed -i 's/auth-user-pass.*/auth-user-pass \/etc\/openvpn\/credentials/g' /etc/openvpn/config.ovpn
touch /etc/openvpn/up.sh
touch /etc/openvpn/down.sh
sed -i "1a\/etc/openvpn/up-qbittorrent.sh \"\${4}\" &\n" /etc/openvpn/up.sh
#sed -i "1a\/etc/openvpn/up-qbittorrent.sh \"\${4}\" &\n" /etc/openvpn/up.sh
bashio::log.info "openvpn correctly set, please modify manually qbittorrent options to select it"
# CONFIGURE QBITTORRENT