diff options
author | Kim Hagen <khagen@multi-development.com> | 2014-08-23 13:55:26 +0200 |
---|---|---|
committer | Kim Hagen <khagen@multi-development.com> | 2014-08-23 13:55:26 +0200 |
commit | 65a56dafd8acb7caa09a47a8e013472c6a03a016 (patch) | |
tree | 937022436818b7b31913f550ab9ec84c9ae9420b | |
parent | 94913e768317a4c4315f56ad1e6a2c6da9407c52 (diff) | |
download | vyatta-cfg-vpn-65a56dafd8acb7caa09a47a8e013472c6a03a016.tar.gz vyatta-cfg-vpn-65a56dafd8acb7caa09a47a8e013472c6a03a016.zip |
Rename vyatta-update-nhrp.pl to vyos-update-nhrp.pl and change options
3 files changed, 5 insertions, 5 deletions
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 |