blob: 2aabdb5616ccf403feb23aeb9e0a2962f9a9b045 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
if [ -r /etc/sysconfig/network-scripts/ifcfg-$1 ]; then
. /etc/sysconfig/network-scripts/ifcfg-$1
if [ -n "$VPN_TYPE" ] && [ -n "$VPN_NAME" ]; then
/usr/sbin/vpn-start $VPN_TYPE $VPN_NAME
fi
fi
|