summaryrefslogtreecommitdiff
path: root/templates/show/vpn/debug/node.def.in
blob: 6fb98debf9a0173db1ef788ebee372085156ecc9 (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 charon > /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