local-bin/common/vpn

13 lines
209 B
Text
Raw Normal View History

2020-11-10 01:04:20 +02:00
#!/bin/sh
if [ "$1" == "on" ]; then
cmd="c P2P"
2020-11-10 01:04:20 +02:00
elif [ "$1" == "off" ]; then
cmd="d"
elif [ "$1" == "status" ]; then
cmd="status"
2020-11-10 01:04:20 +02:00
else
echo "Please pass an argument: on, off, status"
exit
fi
nordvpn $cmd