From 65a56dafd8acb7caa09a47a8e013472c6a03a016 Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Sat, 23 Aug 2014 13:55:26 +0200 Subject: Rename vyatta-update-nhrp.pl to vyos-update-nhrp.pl and change options --- templates/vpn/ipsec/profile/node.tag/bind/tunnel/node.def | 2 +- templates/vpn/ipsec/profile/node.tag/esp-group/node.def | 4 ++-- templates/vpn/ipsec/profile/node.tag/ike-group/node.def | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/vpn/ipsec') diff --git a/templates/vpn/ipsec/profile/node.tag/bind/tunnel/node.def b/templates/vpn/ipsec/profile/node.tag/bind/tunnel/node.def index 3b05bb5..033be42 100644 --- a/templates/vpn/ipsec/profile/node.tag/bind/tunnel/node.def +++ b/templates/vpn/ipsec/profile/node.tag/bind/tunnel/node.def @@ -10,4 +10,4 @@ commit:expression: `cli-shell-api returnValue interfaces tunnel $VAR(@) encapsul end: - sudo /opt/vyatta/sbin/vyatta-update-nhrp.pl --tunnel "$VAR(@)" --ipsec_profile "$VAR(../../@)" --commit_ipsec + sudo /opt/vyatta/sbin/vyos-update-nhrp.pl --set_ipsec diff --git a/templates/vpn/ipsec/profile/node.tag/esp-group/node.def b/templates/vpn/ipsec/profile/node.tag/esp-group/node.def index 1e9eef9..9b346fc 100644 --- a/templates/vpn/ipsec/profile/node.tag/esp-group/node.def +++ b/templates/vpn/ipsec/profile/node.tag/esp-group/node.def @@ -2,11 +2,11 @@ type: txt help: Esp group name [REQUIRED] val_help: Esp group name -allowed: sudo /opt/vyatta/sbin/vyatta-update-nhrp.pl --get_esp_gr_names; +allowed: sudo /opt/vyatta/sbin/vyos-update-nhrp.pl --get_esp_gr_names; syntax:expression: exec " - RET=`sudo /opt/vyatta/sbin/vyatta-update-nhrp.pl --get_esp_gr_names` + RET=`sudo /opt/vyatta/sbin/vyos-update-nhrp.pl --get_esp_gr_names` if echo \"$RET\" | grep -q \"$VAR(@)\" then exit 0 diff --git a/templates/vpn/ipsec/profile/node.tag/ike-group/node.def b/templates/vpn/ipsec/profile/node.tag/ike-group/node.def index 0c80e58..a141812 100644 --- a/templates/vpn/ipsec/profile/node.tag/ike-group/node.def +++ b/templates/vpn/ipsec/profile/node.tag/ike-group/node.def @@ -2,11 +2,11 @@ type: txt help: Ike group name [REQUIRED] val_help: Ike group name -allowed: sudo /opt/vyatta/sbin/vyatta-update-nhrp.pl --get_ike_gr_names; +allowed: sudo /opt/vyatta/sbin/vyos-update-nhrp.pl --get_ike_gr_names; syntax:expression: exec " - RET=`sudo /opt/vyatta/sbin/vyatta-update-nhrp.pl --get_ike_gr_names` + RET=`sudo /opt/vyatta/sbin/vyos-update-nhrp.pl --get_ike_gr_names` if echo \"$RET\" | grep -q \"$VAR(@)\" then exit 0 -- cgit v1.2.3