mirror of
https://github.com/pia-foss/manual-connections.git
synced 2025-02-05 14:08:29 +00:00
display a message regarding how to disconnect the VPN
This commit is contained in:
parent
d8449d7544
commit
86364ee4dc
|
@ -87,8 +87,11 @@ echo OK!
|
||||||
echo
|
echo
|
||||||
echo Trying to create the wireguard interface...
|
echo Trying to create the wireguard interface...
|
||||||
wg-quick up pia || exit 1
|
wg-quick up pia || exit 1
|
||||||
echo The WireGuard interface got created.
|
echo "The WireGuard interface got created.
|
||||||
echo At this point, internet should work via VPN.
|
At this point, internet should work via VPN.
|
||||||
|
|
||||||
|
--> to disconnect the VPN, run:
|
||||||
|
$ wg-quick down pia"
|
||||||
|
|
||||||
# This section will stop the script if PIA_PF is not set to "true".
|
# This section will stop the script if PIA_PF is not set to "true".
|
||||||
if [ "$PIA_PF" != true ]; then
|
if [ "$PIA_PF" != true ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user