summaryrefslogtreecommitdiff
path: root/templates/show/vpn/ipsec/status/node.def.in
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/vpn/ipsec/status/node.def.in')
-rw-r--r--templates/show/vpn/ipsec/status/node.def.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/show/vpn/ipsec/status/node.def.in b/templates/show/vpn/ipsec/status/node.def.in
new file mode 100644
index 0000000..838a133
--- /dev/null
+++ b/templates/show/vpn/ipsec/status/node.def.in
@@ -0,0 +1,6 @@
+help: Show status of IPsec process
+run: if pgrep charon >&/dev/null; then
+ @SUDOUSRDIR@/vyatta-show-ipsec-status.pl
+ else
+ echo -e "IPSec Process NOT Running\n"
+ fi