blob: a0a3f13005dcb41622984bc19a3b70373dfbf558 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
help: Restart VPN ipsec process
run: if [ -n "`ls $VYATTA_ACTIVE_CONFIGURATION_DIR/vpn/ipsec/ipsec-interfaces/interface 2>/dev/null`" ] ; then
if pgrep pluto > /dev/null
then
/opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl --op=clear-vpn-ipsec-process
else
echo IPsec process not running
fi
else
echo VPN ipsec not configured
fi
|