10 lines
195 B
Bash
Executable file
10 lines
195 B
Bash
Executable file
#!/bin/sh
|
|
sudo systemctl stop openvpn-client@DeathStar.service
|
|
|
|
if [[ $1 = "on" ]]
|
|
then
|
|
sudo systemctl start openvpn-client@DeathStar.service
|
|
echo "VPN started"
|
|
else
|
|
echo "All stopped."
|
|
fi
|