12 lines
209 B
Bash
Executable file
12 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
|