blob: 1c9e4be10404dccf174f8d6c2eac7c7797cf7e65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
help: Restart IPsec VPN
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 IPsec VPN not configured
fi
|