summaryrefslogtreecommitdiff
path: root/templates/show/vpn
diff options
context:
space:
mode:
authorJeff Leung <jleung@v10networks.ca>2015-01-28 08:26:51 +0000
committerUnicronNL <khagen@multi.eu>2016-05-11 07:55:41 +0200
commit12b2b88d03ce3527a46abc3c1e5cf9e8b8cd5238 (patch)
treef758def52d5d63eea8da28297e86352a01b38509 /templates/show/vpn
parent6ed20a24270b1b33b9a5e4595938590a8d2a76fb (diff)
downloadvyatta-op-vpn-12b2b88d03ce3527a46abc3c1e5cf9e8b8cd5238.tar.gz
vyatta-op-vpn-12b2b88d03ce3527a46abc3c1e5cf9e8b8cd5238.zip
Update pluto.pid references to charon.pid
Since pluto doesn't exist anymore in strongSwan 5.0 and later series, we are updating references from pluto* to charon*.
Diffstat (limited to 'templates/show/vpn')
-rw-r--r--templates/show/vpn/debug/detail/node.def2
-rw-r--r--templates/show/vpn/debug/node.def2
-rw-r--r--templates/show/vpn/debug/peer/node.tag/node.def2
-rw-r--r--templates/show/vpn/debug/peer/node.tag/tunnel/node.tag/node.def2
-rw-r--r--templates/show/vpn/ipsec/status/node.def2
5 files changed, 5 insertions, 5 deletions
diff --git a/templates/show/vpn/debug/detail/node.def b/templates/show/vpn/debug/detail/node.def
index ee3604d..0f88f1e 100644
--- a/templates/show/vpn/debug/detail/node.def
+++ b/templates/show/vpn/debug/detail/node.def
@@ -1,7 +1,7 @@
help: Show detailed VPN debugging information
run: if [ -n "$(cli-shell-api returnActiveValues \
vpn ipsec ipsec-interfaces interface)" ]; then
- if pgrep pluto > /dev/null
+ if pgrep charon > /dev/null
then
/opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl --op=show-vpn-debug-detail
else
diff --git a/templates/show/vpn/debug/node.def b/templates/show/vpn/debug/node.def
index 7a33888..281228a 100644
--- a/templates/show/vpn/debug/node.def
+++ b/templates/show/vpn/debug/node.def
@@ -1,7 +1,7 @@
help: Show VPN debugging information
run: if [ -n "$(cli-shell-api returnActiveValues \
vpn ipsec ipsec-interfaces interface)" ]; then
- if pgrep pluto > /dev/null
+ if pgrep charon > /dev/null
then
/opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl --op=show-vpn-debug
else
diff --git a/templates/show/vpn/debug/peer/node.tag/node.def b/templates/show/vpn/debug/peer/node.tag/node.def
index a27063a..a3a9573 100644
--- a/templates/show/vpn/debug/peer/node.tag/node.def
+++ b/templates/show/vpn/debug/peer/node.tag/node.def
@@ -2,7 +2,7 @@ help: Show debugging information for a peer
allowed: /opt/vyatta/bin/sudo-users/vyatta-op-vpn.pl --get-peers-for-cli
run: if [ -n "$(cli-shell-api returnActiveValues \
vpn ipsec ipsec-interfaces interface)" ]; then
- if pgrep pluto > /dev/null
+ if pgrep charon > /dev/null
then
/opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl --op=show-vpn-debug | grep peer-$5
else
diff --git a/templates/show/vpn/debug/peer/node.tag/tunnel/node.tag/node.def b/templates/show/vpn/debug/peer/node.tag/tunnel/node.tag/node.def
index c141ac0..3c96973 100644
--- a/templates/show/vpn/debug/peer/node.tag/tunnel/node.tag/node.def
+++ b/templates/show/vpn/debug/peer/node.tag/tunnel/node.tag/node.def
@@ -2,7 +2,7 @@ help: Show debugging information for a peer's tunnel
allowed: /opt/vyatta/bin/sudo-users/vyatta-op-vpn.pl --get-conn-for-cli=${COMP_WORDS[4]}
run: if [ -n "$(cli-shell-api returnActiveValues \
vpn ipsec ipsec-interfaces interface)" ]; then
- if pgrep pluto > /dev/null
+ if pgrep charon > /dev/null
then
/opt/vyatta/bin/sudo-users/vyatta-vpn-op.pl --op=show-vpn-debug | grep "peer-$5-tunnel-$7"
else
diff --git a/templates/show/vpn/ipsec/status/node.def b/templates/show/vpn/ipsec/status/node.def
index bf4ebf7..3c48c60 100644
--- a/templates/show/vpn/ipsec/status/node.def
+++ b/templates/show/vpn/ipsec/status/node.def
@@ -1,5 +1,5 @@
help: Show status of IPsec process
-run: if pgrep pluto >&/dev/null; then
+run: if pgrep charon >&/dev/null; then
/opt/vyatta/bin/sudo-users/vyatta-show-ipsec-status.pl
else
echo -e "IPSec Process NOT Running\n"