summaryrefslogtreecommitdiff
path: root/templates/system/ipv6/disable/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-09-23 23:11:28 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-09-23 23:11:28 -0700
commit89aa57e62e4fc60514f9e514d198573fe36427d1 (patch)
tree492e29ef2f219bbcc2bcec9bac03214f2d2f3e87 /templates/system/ipv6/disable/node.def
parent063143ab7737442bbc460c5465923f5f7bcd41c3 (diff)
parent8e984715717650648e968860a7cf0e554445ca50 (diff)
downloadvyatta-cfg-system-89aa57e62e4fc60514f9e514d198573fe36427d1.tar.gz
vyatta-cfg-system-89aa57e62e4fc60514f9e514d198573fe36427d1.zip
Merge branch 'kenwood' of suva.vyatta.com:/git/vyatta-cfg-system into kenwood
Diffstat (limited to 'templates/system/ipv6/disable/node.def')
-rw-r--r--templates/system/ipv6/disable/node.def10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/system/ipv6/disable/node.def b/templates/system/ipv6/disable/node.def
new file mode 100644
index 00000000..50aaa420
--- /dev/null
+++ b/templates/system/ipv6/disable/node.def
@@ -0,0 +1,10 @@
+help: Disable assignment of IPv6 addresses on all interfaces
+
+create:
+ sudo sh -c "echo options ipv6 disable_ipv6=1 > \
+ /etc/modprobe.d/vyatta_disable_ipv6"
+ echo "This change will take affect when the system is rebooted."
+
+delete:
+ sudo sh -c "rm -f /etc/modprobe.d/vyatta_disable_ipv6"
+ echo "This change will take affect when the system is rebooted."