From 046c09c934bfac2cbb8de76b7471d2de921546bf Mon Sep 17 00:00:00 2001 From: Bob Gilligan Date: Thu, 24 Sep 2009 16:04:32 -0700 Subject: Bugfix 4951: Add configuration parameter to blacklist the IPv6 module. --- templates/system/ipv6/blacklist/node.def | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 templates/system/ipv6/blacklist/node.def 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." -- cgit v1.2.3