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