summaryrefslogtreecommitdiff
path: root/templates/system
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@uffda.(none)>2007-10-16 14:15:04 -0700
committerStig Thormodsrud <stig@uffda.(none)>2007-10-16 14:15:04 -0700
commit281fcfb8dad9b66f027c39476a05aa5eff89fce1 (patch)
treeb53963a6597304daffa6b2f1e9bae7f5722c7956 /templates/system
parent83331a0a334130cc438805c124fd05d93eddd5d0 (diff)
downloadvyatta-cfg-quagga-281fcfb8dad9b66f027c39476a05aa5eff89fce1.tar.gz
vyatta-cfg-quagga-281fcfb8dad9b66f027c39476a05aa5eff89fce1.zip
- Fix "set system gateway".
- Add basic support for static routes.
Diffstat (limited to 'templates/system')
-rw-r--r--templates/system/gateway-address/node.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/system/gateway-address/node.def b/templates/system/gateway-address/node.def
new file mode 100644
index 00000000..0bb8ed39
--- /dev/null
+++ b/templates/system/gateway-address/node.def
@@ -0,0 +1,5 @@
+type: txt
+help: "Configure default gateway"
+create: "/usr/bin/vtysh -c \"configure terminal\" -c \"ip route 0.0.0.0/0 $(@)\" "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"no ip route 0.0.0.0/0 $(@)\" "
+