Kernel: Enabled IPV6 at build and disabled at runtime.
[people/pmueller/ipfire-2.x.git] / lfs / linux
index 303d62cc71d6933a9dd30b82f3d444c4010c982e..0a4d3e6e0b6f0d70c4121cbe61132dcbb306029f 100644 (file)
--- a/lfs/linux
+++ b/lfs/linux
@@ -189,6 +189,10 @@ ifneq "$(XEN)" "1"
                echo "blacklist $$(basename $$f)" >> /etc/modprobe.d/isdn ; \
        done
        sed -i -e "s|.ko||g" /etc/modprobe.d/isdn
+
+       # Disable ipv6 at runtime
+       echo "options ipv6 disable_ipv6=1" > /etc/modprobe.d/ipv6
+
 endif
 endif