summaryrefslogtreecommitdiff
path: root/templates/system/ipv6
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-07 17:35:53 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-07 17:35:53 -0800
commitf4fcf512b96f7a14666d2254a0ab1890512a548e (patch)
tree1b289f64990aed877672fbda2672d026abb74f42 /templates/system/ipv6
parent239545a6e81884091610c59e548448a15cadafbf (diff)
parenta96c79e41c61d25822fb16e7dfba28182a5fd2e9 (diff)
downloadvyatta-cfg-system-f4fcf512b96f7a14666d2254a0ab1890512a548e.tar.gz
vyatta-cfg-system-f4fcf512b96f7a14666d2254a0ab1890512a548e.zip
Merge branch 'islavista' of suva.vyatta.com:/git/vyatta-cfg-system into islavista
Diffstat (limited to 'templates/system/ipv6')
-rw-r--r--templates/system/ipv6/disable-forwarding/node.def3
-rw-r--r--templates/system/ipv6/node.def1
2 files changed, 4 insertions, 0 deletions
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