blob: b5848c6e6567dfeeaf4adce502cf6e97ef6e4919 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
help: Show VPN debugging information
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=show-vpn-debug
else
echo IPsec process not running
fi
else
echo VPN ipsec not configured
fi
|