15 lines
217 B
Bash
Executable File
15 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
|
|
|