mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-28 11:24:04 +02:00
Update 93-openvpn.sh
This commit is contained in:
@@ -20,9 +20,7 @@ if bashio::config.true 'openvpn_enabled'; then
|
|||||||
echo "${openvpn_password}" >> /etc/openvpn/credentials
|
echo "${openvpn_password}" >> /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
|
||||||
touch /etc/openvpn/up.sh
|
#sed -i "1a\/etc/openvpn/up-qbittorrent.sh \"\${4}\" &\n" /etc/openvpn/up.sh
|
||||||
touch /etc/openvpn/down.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"
|
bashio::log.info "openvpn correctly set, please modify manually qbittorrent options to select it"
|
||||||
|
|
||||||
# CONFIGURE QBITTORRENT
|
# CONFIGURE QBITTORRENT
|
||||||
|
|||||||
Reference in New Issue
Block a user