summaryrefslogtreecommitdiff
path: root/templates/show/vpn/debug/node.def.in
blob: 1f6c8298d1894e0c24ef0c2393f0bd510bc98434 (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
        @SUDOUSRDIR@/vyatta-vpn-op.pl --op=show-vpn-debug
       else
         echo IPsec process not running
       fi
     else
        echo VPN ipsec not configured
     fi