diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2020-06-22 23:04:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 22:04:30 +0200 |
commit | f45c90d3bd80702728bed65355a8b06c3ea2c15a (patch) | |
tree | 36f42e2aa9a9901d2162fddacd358b2092b0531d /templates/protocols/rip/redistribute/static/node.def | |
parent | d27fa6b34ed3e9325d6ae8e4aed6acc14d899562 (diff) | |
download | vyatta-cfg-quagga-f45c90d3bd80702728bed65355a8b06c3ea2c15a.tar.gz vyatta-cfg-quagga-f45c90d3bd80702728bed65355a8b06c3ea2c15a.zip |
rip: T2547: migrate to vyos-1x
Diffstat (limited to 'templates/protocols/rip/redistribute/static/node.def')
-rw-r--r-- | templates/protocols/rip/redistribute/static/node.def | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/templates/protocols/rip/redistribute/static/node.def b/templates/protocols/rip/redistribute/static/node.def deleted file mode 100644 index 8ce4a0b0..00000000 --- a/templates/protocols/rip/redistribute/static/node.def +++ /dev/null @@ -1,16 +0,0 @@ -help: Redistribute static routes -delete:expression: "touch /tmp/rip-redist-static.$PPID" -end:expression: "vtysh -c \"configure terminal\" -c \"router rip\" \ - -c \"no redistribute static \"; \ - if [ -f \"/tmp/rip-redist-static.$PPID\" ]; then \ - rm -rf /tmp/rip-redist-static.$PPID; \ - else \ - if [ -n \"$VAR(./metric/@)\" ]; then \ - COND=\"metric $VAR(./metric/@)\"; - fi; \ - if [ -n \"$VAR(./route-map/@)\" ]; then \ - COND=\"$COND route-map $VAR(./route-map/@)\"; \ - fi; \ - vtysh -c \"configure terminal\" -c \"router rip\" \ - -c \"redistribute static $COND\"; \ - fi; " |