local-bin/common/vpn

13 lines
209 B
Bash
Executable File

#!/bin/sh
if [ "$1" == "on" ]; then
cmd="c P2P"
elif [ "$1" == "off" ]; then
cmd="d"
elif [ "$1" == "status" ]; then
cmd="status"
else
echo "Please pass an argument: on, off, status"
exit
fi
nordvpn $cmd