diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-09-06 11:49:01 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-10-27 17:11:28 -0500 |
commit | c64eff46e6e69092bcb4f0d99d505700e61e4ecf (patch) | |
tree | b8881e1cccb18bd7f55655f868ffd38f67440c55 /templates | |
parent | 12b09b2a196a00389d4e1b1996fcf29689141920 (diff) | |
download | vyatta-op-c64eff46e6e69092bcb4f0d99d505700e61e4ecf.tar.gz vyatta-op-c64eff46e6e69092bcb4f0d99d505700e61e4ecf.zip |
Move the background monitoring for vpn under each of the categories as suggested by support
(cherry picked from commit 7621362a1a6ac0b5234fffdd4ff5fd1fe9f8625d)
Diffstat (limited to 'templates')
16 files changed, 4 insertions, 10 deletions
diff --git a/templates/monitor/vpn/all/background/node.def b/templates/monitor/vpn/all/background/node.def new file mode 100644 index 0000000..b4eece2 --- /dev/null +++ b/templates/monitor/vpn/all/background/node.def @@ -0,0 +1 @@ +help: Monitor VPN in the background diff --git a/templates/monitor/vpn/background/start/all/node.def b/templates/monitor/vpn/all/background/start/node.def index ac100e8..ac100e8 100644 --- a/templates/monitor/vpn/background/start/all/node.def +++ b/templates/monitor/vpn/all/background/start/node.def diff --git a/templates/monitor/vpn/background/stop/all/node.def b/templates/monitor/vpn/all/background/stop/node.def index 8d735cd..8d735cd 100644 --- a/templates/monitor/vpn/background/stop/all/node.def +++ b/templates/monitor/vpn/all/background/stop/node.def diff --git a/templates/monitor/vpn/background/list/node.def b/templates/monitor/vpn/background/list/node.def deleted file mode 100644 index 2fe1507..0000000 --- a/templates/monitor/vpn/background/list/node.def +++ /dev/null @@ -1,7 +0,0 @@ -help: List currently running VPN background montioring processes -run: ARR=$(ls /var/run/vyatta/monitor/VPN*"$(tty| sed -e s-/--g -e s/dev//g)"*.pid) - ARR=${ARR[@]##*/} - ARR=${ARR[@]%%-pts*} - for i in "${ARR[@]}";do - echo $i - done diff --git a/templates/monitor/vpn/background/node.def b/templates/monitor/vpn/background/node.def deleted file mode 100644 index 7fbfd18..0000000 --- a/templates/monitor/vpn/background/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Montior VPN in the background diff --git a/templates/monitor/vpn/background/start/node.def b/templates/monitor/vpn/background/start/node.def deleted file mode 100644 index dc17ca0..0000000 --- a/templates/monitor/vpn/background/start/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Start VPN background monitoring diff --git a/templates/monitor/vpn/background/stop/node.def b/templates/monitor/vpn/background/stop/node.def deleted file mode 100644 index e0b76b2..0000000 --- a/templates/monitor/vpn/background/stop/node.def +++ /dev/null @@ -1 +0,0 @@ -help: Stop VPN background monitoring diff --git a/templates/monitor/vpn/ipsec/background/node.def b/templates/monitor/vpn/ipsec/background/node.def new file mode 100644 index 0000000..f32e862 --- /dev/null +++ b/templates/monitor/vpn/ipsec/background/node.def @@ -0,0 +1 @@ +help: Monitor IPSec in the background diff --git a/templates/monitor/vpn/background/start/ipsec/node.def b/templates/monitor/vpn/ipsec/background/start/node.def index 7ba2631..7ba2631 100644 --- a/templates/monitor/vpn/background/start/ipsec/node.def +++ b/templates/monitor/vpn/ipsec/background/start/node.def diff --git a/templates/monitor/vpn/background/stop/ipsec/node.def b/templates/monitor/vpn/ipsec/background/stop/node.def index d6ea71c..d6ea71c 100644 --- a/templates/monitor/vpn/background/stop/ipsec/node.def +++ b/templates/monitor/vpn/ipsec/background/stop/node.def diff --git a/templates/monitor/vpn/l2tp/background/node.def b/templates/monitor/vpn/l2tp/background/node.def new file mode 100644 index 0000000..d9b7697 --- /dev/null +++ b/templates/monitor/vpn/l2tp/background/node.def @@ -0,0 +1 @@ +help: Monitor L2TP in the background diff --git a/templates/monitor/vpn/background/start/l2tp/node.def b/templates/monitor/vpn/l2tp/background/start/node.def index a43440e..a43440e 100644 --- a/templates/monitor/vpn/background/start/l2tp/node.def +++ b/templates/monitor/vpn/l2tp/background/start/node.def diff --git a/templates/monitor/vpn/background/stop/l2tp/node.def b/templates/monitor/vpn/l2tp/background/stop/node.def index 2173baf..2173baf 100644 --- a/templates/monitor/vpn/background/stop/l2tp/node.def +++ b/templates/monitor/vpn/l2tp/background/stop/node.def diff --git a/templates/monitor/vpn/pptp/background/node.def b/templates/monitor/vpn/pptp/background/node.def new file mode 100644 index 0000000..1eafbed --- /dev/null +++ b/templates/monitor/vpn/pptp/background/node.def @@ -0,0 +1 @@ +help: Monitor PPTP in the background diff --git a/templates/monitor/vpn/background/start/pptp/node.def b/templates/monitor/vpn/pptp/background/start/node.def index 7659282..7659282 100644 --- a/templates/monitor/vpn/background/start/pptp/node.def +++ b/templates/monitor/vpn/pptp/background/start/node.def diff --git a/templates/monitor/vpn/background/stop/pptp/node.def b/templates/monitor/vpn/pptp/background/stop/node.def index d1879e4..d1879e4 100644 --- a/templates/monitor/vpn/background/stop/pptp/node.def +++ b/templates/monitor/vpn/pptp/background/stop/node.def |