13 lines
213 B
Text
13 lines
213 B
Text
|
#!/bin/sh
|
||
|
if [ "$1" == "on" ]; then
|
||
|
cmd="c --p2p"
|
||
|
elif [ "$1" == "off" ]; then
|
||
|
cmd="d"
|
||
|
elif [ "$1" == "status" ]; then
|
||
|
cmd="s"
|
||
|
else
|
||
|
echo "Please pass an argument: on, off, status"
|
||
|
exit
|
||
|
fi
|
||
|
doas protonvpn $cmd
|