diff options
author | jules-vyos <vyos@ourhouse.org.uk> | 2017-07-27 15:38:31 +0100 |
---|---|---|
committer | jules-vyos <vyos@ourhouse.org.uk> | 2017-07-27 15:38:31 +0100 |
commit | 24c7ff03646d73767df9a0b5e20c483fcf9708a6 (patch) | |
tree | 20425b83b0b9e2f07d3ad78b771166f4b21bf1db /templates/show/vpn/ipsec/sa | |
parent | 4aba0c7e26b5336122e88ab2bba01c1c6066600e (diff) | |
download | vyatta-op-vpn-24c7ff03646d73767df9a0b5e20c483fcf9708a6.tar.gz vyatta-op-vpn-24c7ff03646d73767df9a0b5e20c483fcf9708a6.zip |
Add templates for extended commands
Diffstat (limited to 'templates/show/vpn/ipsec/sa')
-rw-r--r-- | templates/show/vpn/ipsec/sa/detail/node.def.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/show/vpn/ipsec/sa/detail/node.def.in b/templates/show/vpn/ipsec/sa/detail/node.def.in new file mode 100644 index 0000000..3362e9b --- /dev/null +++ b/templates/show/vpn/ipsec/sa/detail/node.def.in @@ -0,0 +1,6 @@ +help: Show Detail on all active IPsec Security Associations (SA) +run: if pgrep charon >&/dev/null; then + @SUDOUSRDIR@/vyatta-op-vpn.pl --show-ipsec-sa + else + echo -e "IPSec Process NOT Running\n" + fi |