summaryrefslogtreecommitdiff
path: root/templates/show/vpn/debug/detail/node.def
blob: ee3604d68d3e867b392c5548f3c62db1eef757f1 (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 pluto > /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