blob: 7fb26bff4a708ae4f79ecdb28eefba55788e5a9f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
set -e
if [[ $(/usr/bin/id -u) -ne 0 ]] ; then
echo Not running as root
exit
fi
echo Connection to the VPN
vpnc sibsac
echo Press any key to disconnect ...
read $disconnect
echo Disconnection from the VPN
vpnc-disconnect
echo VPN should now be disconnected
|