summaryrefslogtreecommitdiff
path: root/templates/show/vpn/debug/detail/node.def
blob: 0f88f1e6f9caefceb4dc7e600afaeb39f976cf9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
help: Show detailed VPN debugging information
run: if [ -n "$(cli-shell-api returnActiveValues \
                  vpn ipsec ipsec-interfaces interface)" ]; then
       if pgrep charon > /dev/null
       then
        /opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl --op=show-vpn-debug-detail
       else
         echo IPsec process not running
       fi
     else
        echo VPN ipsec not configured
     fi