summaryrefslogtreecommitdiff
path: root/templates/show/vpn/debug/node.def
blob: 7a3388842b4782af241420d27f49b4f4811f9e3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
help: Show VPN debugging information
run: if [ -n "$(cli-shell-api returnActiveValues \
                  vpn ipsec ipsec-interfaces interface)" ]; 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