diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2009-09-24 16:04:32 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2009-09-24 16:04:32 -0700 |
commit | 046c09c934bfac2cbb8de76b7471d2de921546bf (patch) | |
tree | 1e9e75467a356899e80e6ca25987683d2d87e4d5 /templates/system/ipv6 | |
parent | 89aa57e62e4fc60514f9e514d198573fe36427d1 (diff) | |
download | vyatta-cfg-system-046c09c934bfac2cbb8de76b7471d2de921546bf.tar.gz vyatta-cfg-system-046c09c934bfac2cbb8de76b7471d2de921546bf.zip |
Bugfix 4951: Add configuration parameter to blacklist the IPv6 module.
Diffstat (limited to 'templates/system/ipv6')
-rw-r--r-- | templates/system/ipv6/blacklist/node.def | 10 |
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." |