mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-15 11:59:11 +02:00
Update 90-vpn.sh
This commit is contained in:
@@ -5,23 +5,23 @@ set +e
|
|||||||
VPN_PROVIDER="${VPN_PROVIDER:-null}"
|
VPN_PROVIDER="${VPN_PROVIDER:-null}"
|
||||||
case "$VPN_PROVIDER" in
|
case "$VPN_PROVIDER" in
|
||||||
"generic")
|
"generic")
|
||||||
rm -r /etc/s6*/s6*/service-pia
|
echo "" > etc/s6*/s6*/service-pia/run
|
||||||
rm -r /etc/s6*/s6*/service-proton
|
echo "" > /etc/s6*/s6*/service-proton/run
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"pia")
|
"pia")
|
||||||
rm -r /etc/s6*/s6*/service-privoxy
|
echo "" > /etc/s6*/s6*/service-privoxy/run
|
||||||
rm -r /etc/s6*/s6*/service-proton
|
echo "" > /etc/s6*/s6*/service-proton/run
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"proton")
|
"proton")
|
||||||
rm -r /etc/s6*/s6*/service-privoxy
|
echo "" > /etc/s6*/s6*/service-privoxy/run
|
||||||
rm -r /etc/s6*/s6*/service-pia
|
echo "" > /etc/s6*/s6*/service-pia/run
|
||||||
;;
|
;;
|
||||||
|
|
||||||
**)
|
**)
|
||||||
rm -r /etc/s6*/s6*/service-privoxy
|
echo "" > /etc/s6*/s6*/service-privoxy/run
|
||||||
rm -r /etc/s6*/s6*/service-proton
|
echo "" > /etc/s6*/s6*/service-proton/run
|
||||||
rm -r /etc/s6*/s6*/service-pia
|
echo "" > /etc/s6*/s6*/service-pia/run
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user