blob: ceb64c9b185cc442e12ae5b92f4b314850d63d9f (
plain)
1
2
3
4
5
6
|
help: Show VPN debugging information
run: if [ -d $VYATTA_ACTIVE_CONFIGURATION_DIR/vpn/ipsec/site-to-site/peer ] && [ -n "`ls $VYATTA_ACTIVE_CONFIGURATION_DIR/vpn/ipsec/site-to-site/peer/`" ] ; then
sudo /opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl --op=show-vpn-debug
else
echo VPN ipsec not configured
fi
|