summaryrefslogtreecommitdiff
path: root/templates/system/ipv6
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/ipv6')
-rw-r--r--templates/system/ipv6/blacklist/node.def10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/system/ipv6/blacklist/node.def b/templates/system/ipv6/blacklist/node.def
new file mode 100644
index 00000000..b19214db
--- /dev/null
+++ b/templates/system/ipv6/blacklist/node.def
@@ -0,0 +1,10 @@
+help: Prevent the IPv6 kernel module from being loaded
+
+create:
+ sudo sh -c "echo blacklist ipv6 > \
+ /etc/modprobe.d/vyatta_blacklist_ipv6"
+ echo "This change will take affect when the system is rebooted."
+
+delete:
+ sudo sh -c "rm -f /etc/modprobe.d/vyatta_blacklist_ipv6"
+ echo "This change will take affect when the system is rebooted."