1 --- vpnclient_init.orig 2011-09-20 15:22:52.901415716 -0400
2 +++ vpnclient_init 2011-09-20 15:28:15.013003963 -0400
4 VPNCLIENT="/opt/cisco-vpnclient/bin/vpnclient"
9 - VPNMOD_FILE="${VPNMOD}.ko"
12 - VPNMOD_FILE="$VPNMOD"
15 +VPNMOD_FILE="${VPNMOD}.ko"
17 WHOAMI=`id | sed -e 's/(.*//'`
20 echo "Failed (super user access required)"
23 - /sbin/lsmod | grep -q "${VPNMOD}"
24 + /bin/lsmod | grep -q "${VPNMOD}"
25 if [ "$?" = "0" ] ; then
26 echo "module ${VPNMOD} is already running. Use restart instead."
32 - echo "Failed (unsupported Linux version)"
33 - /sbin/rmmod ${VPNMOD}
40 killall cvpnd > /dev/null 2>&1
42 - /sbin/lsmod | grep -q "${VPNMOD}"
43 + /bin/lsmod | grep -q "${VPNMOD}"
44 if [ "$?" != "0" ] ; then
45 echo "module ${VPNMOD} is not running."
51 - /sbin/lsmod | egrep 'Module'
52 - /sbin/lsmod | egrep "${VPNMOD}"
53 + /bin/lsmod | egrep 'Module'
54 + /bin/lsmod | egrep "${VPNMOD}"
55 if [ "$?" != "0" ] ; then
57 echo "Status Failed (lsmod ${VPNMOD}) - The VPN module is not loaded."