blob: 4576c633824eafcc5d7c8db47b46153c2fb6b410 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
exec 2>&1
CLIENTNAME="Cisco AnyConnect Secure Mobility Client Agent"
/sbin/lsmod | grep tun > /dev/null
if [ $? -ne 0 ]; then
/sbin/modprobe tun > /dev/null 2> /dev/null
if [ $? -ne 0 ]; then
# check for /dev/net/tun
[ -c "/dev/net/tun" ] || echo Warning: Unable to verify that the tun/tap driver is loaded. Contact your system administrator for assistance.
fi
fi
echo "Starting up $CLIENTNAME"
exec /opt/cisco/anyconnect/bin/vpnagentd -d
|