summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-11-06 14:50:27 -0800
committerrbalocca <rbalocca@vyatta.com>2008-11-06 14:50:27 -0800
commit5479f8a94c61a511cdd6191f57b9e2c50d3ba140 (patch)
tree5d2a5d80b23f5601ba3333e79eab10d349177b17 /templates
parent1c0e75890bc02e85754ed0e1d8d83252871734d0 (diff)
parent62a5d5c89f5d4e0c6bc864210a1530d9aaf33adf (diff)
downloadvyatta-cfg-quagga-5479f8a94c61a511cdd6191f57b9e2c50d3ba140.tar.gz
vyatta-cfg-quagga-5479f8a94c61a511cdd6191f57b9e2c50d3ba140.zip
Merge branch 'islavista' into jenner
Diffstat (limited to 'templates')
-rw-r--r--templates/system/ip/disable-forwarding/node.def3
-rw-r--r--templates/system/ip/node.def1
-rw-r--r--templates/system/ipv6/disable-forwarding/node.def3
-rw-r--r--templates/system/ipv6/node.def1
4 files changed, 8 insertions, 0 deletions
diff --git a/templates/system/ip/disable-forwarding/node.def b/templates/system/ip/disable-forwarding/node.def
new file mode 100644
index 00000000..3bac48b3
--- /dev/null
+++ b/templates/system/ip/disable-forwarding/node.def
@@ -0,0 +1,3 @@
+help: Disable IPv4 forwarding
+create: sudo sh -c "echo 0 > /proc/sys/net/ipv4/conf/all/forwarding"
+delete: sudo sh -c "echo 1 > /proc/sys/net/ipv4/conf/all/forwarding"
diff --git a/templates/system/ip/node.def b/templates/system/ip/node.def
new file mode 100644
index 00000000..c354d882
--- /dev/null
+++ b/templates/system/ip/node.def
@@ -0,0 +1 @@
+help: Set IPv4 settings
diff --git a/templates/system/ipv6/disable-forwarding/node.def b/templates/system/ipv6/disable-forwarding/node.def
new file mode 100644
index 00000000..5a7576c3
--- /dev/null
+++ b/templates/system/ipv6/disable-forwarding/node.def
@@ -0,0 +1,3 @@
+help: Disable IPv6 forwarding
+create: sudo sh -c "echo 0 > /proc/sys/net/ipv6/conf/all/forwarding"
+delete: sudo sh -c "echo 1 > /proc/sys/net/ipv6/conf/all/forwarding"
diff --git a/templates/system/ipv6/node.def b/templates/system/ipv6/node.def
new file mode 100644
index 00000000..7a7c2715
--- /dev/null
+++ b/templates/system/ipv6/node.def
@@ -0,0 +1 @@
+help: Set IPv6 settings