diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-08-11 18:39:24 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-08-11 18:39:24 -0700 |
commit | 588492cf8a9ddf438b649c6db4986bcab9c22435 (patch) | |
tree | 20d85b8887a806be272c39e317cfef0baba95777 /templates/protocols/ripng/redistribute | |
parent | f2d03803e6f10a430c1dc17436abd18f74b87a4d (diff) | |
download | vyatta-cfg-quagga-588492cf8a9ddf438b649c6db4986bcab9c22435.tar.gz vyatta-cfg-quagga-588492cf8a9ddf438b649c6db4986bcab9c22435.zip |
Replace vyatta-vtysh with vtysh
Diffstat (limited to 'templates/protocols/ripng/redistribute')
5 files changed, 10 insertions, 10 deletions
diff --git a/templates/protocols/ripng/redistribute/bgp/node.def b/templates/protocols/ripng/redistribute/bgp/node.def index 92d01db4..4c44cbf6 100644 --- a/templates/protocols/ripng/redistribute/bgp/node.def +++ b/templates/protocols/ripng/redistribute/bgp/node.def @@ -2,7 +2,7 @@ help: Set to redistribute BGP routes delete: touch /tmp/rip-redist-bgp.$PPID -end: vyatta-vtysh -c "configure terminal" \ +end: vtysh -c "configure terminal" \ -c "router ripng" \ -c "no redistribute bgp" if [ -f "/tmp/rip-redist-bgp.$PPID" ]; then @@ -14,7 +14,7 @@ end: vyatta-vtysh -c "configure terminal" \ if [ -n "$VAR(./route-map/@)" ]; then COND="$COND route-map $VAR(./route-map/@)"; fi; - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "router ripng" \ -c "redistribute bgp $COND"; fi diff --git a/templates/protocols/ripng/redistribute/connected/node.def b/templates/protocols/ripng/redistribute/connected/node.def index b2c82096..dfce0b34 100644 --- a/templates/protocols/ripng/redistribute/connected/node.def +++ b/templates/protocols/ripng/redistribute/connected/node.def @@ -2,7 +2,7 @@ help: Set to redistribute connected routes delete: touch /tmp/rip-redist-connected.$PPID -end: vyatta-vtysh -c "configure terminal" \ +end: vtysh -c "configure terminal" \ -c "router ripng" \ -c "no redistribute connected" if [ -f "/tmp/rip-redist-connected.$PPID" ]; then @@ -14,7 +14,7 @@ end: vyatta-vtysh -c "configure terminal" \ if [ -n "$VAR(./route-map/@)" ]; then COND="$COND route-map $VAR(./route-map/@)"; fi; - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "router ripng" \ -c "redistribute connected $COND"; fi; diff --git a/templates/protocols/ripng/redistribute/kernel/node.def b/templates/protocols/ripng/redistribute/kernel/node.def index 3023733a..fa21a2fc 100644 --- a/templates/protocols/ripng/redistribute/kernel/node.def +++ b/templates/protocols/ripng/redistribute/kernel/node.def @@ -2,7 +2,7 @@ help: Set to redistribute kernel routes delete: touch /tmp/rip-redist-kernel.$PPID -end: vyatta-vtysh -c "configure terminal" \ +end: vtysh -c "configure terminal" \ -c "router ripng" \ -c "no redistribute kernel"; if [ -f "/tmp/rip-redist-kernel.$PPID" ]; then @@ -14,7 +14,7 @@ end: vyatta-vtysh -c "configure terminal" \ if [ -n "$VAR(./route-map/@)" ]; then COND="$COND route-map $VAR(./route-map/@)"; fi; - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "router ripng" \ -c "redistribute kernel $COND"; fi; diff --git a/templates/protocols/ripng/redistribute/ospfv3/node.def b/templates/protocols/ripng/redistribute/ospfv3/node.def index cf4e37ae..1df11812 100644 --- a/templates/protocols/ripng/redistribute/ospfv3/node.def +++ b/templates/protocols/ripng/redistribute/ospfv3/node.def @@ -2,7 +2,7 @@ help: Set to redistribute OSPFv3 routes delete: touch /tmp/rip-redist-ospf6.$PPID -end: vyatta-vtysh -c "configure terminal" \ +end: vtysh -c "configure terminal" \ -c "router ripng" \ -c "no redistribute ospf6"; if [ -f "/tmp/rip-redist-ospf6.$PPID" ]; then @@ -14,7 +14,7 @@ end: vyatta-vtysh -c "configure terminal" \ if [ -n "$VAR(./route-map/@)" ]; then COND="$COND route-map $VAR(./route-map/@)"; fi; - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "router ripng" \ -c "redistribute ospf6 $COND"; fi; diff --git a/templates/protocols/ripng/redistribute/static/node.def b/templates/protocols/ripng/redistribute/static/node.def index 2d142f2b..a47d20a5 100644 --- a/templates/protocols/ripng/redistribute/static/node.def +++ b/templates/protocols/ripng/redistribute/static/node.def @@ -2,7 +2,7 @@ help: Set to redistribute static routes delete: touch /tmp/rip-redist-static.$PPID -end: vyatta-vtysh -c "configure terminal" \ +end: vtysh -c "configure terminal" \ -c "router ripng" \ -c "no redistribute static"; if [ -f "/tmp/rip-redist-static.$PPID" ]; then @@ -14,7 +14,7 @@ end: vyatta-vtysh -c "configure terminal" \ if [ -n "$VAR(./route-map/@)" ]; then COND="$COND route-map $VAR(./route-map/@)"; fi; - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "router ripng" \ -c "redistribute static $COND"; fi; |