When /etc/init.d/boot brings the coldplugging network interfaces up, the IPv6 
kernel module is not loaded and so the configuration of the IPv6 addresses in 
the uci config fails. This patch correct this.

Signed-off-by: "Alina Friedrichsen" <[EMAIL PROTECTED]>
---
Index: package/base-files/files/etc/init.d/boot
===================================================================
--- package/base-files/files/etc/init.d/boot    (Revision 11319)
+++ package/base-files/files/etc/init.d/boot    (Arbeitskopie)
@@ -25,6 +25,8 @@
 )}
 
 start() {
+       [ -e /etc/modules.d/09-ipv6 ] && sleep 1
+
        [ -f /proc/mounts ] || /sbin/mount_root
        [ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc
        [ -f /proc/net/vlan/config ] && vconfig set_name_type 
DEV_PLUS_VID_NO_PAD
Index: package/kernel/modules/network.mk
===================================================================
--- package/kernel/modules/network.mk   (Revision 11319)
+++ package/kernel/modules/network.mk   (Arbeitskopie)
@@ -233,7 +233,7 @@
        CONFIG_IPV6_MULTIPLE_TABLES=y \
        CONFIG_IPV6_SUBTREES=y
   FILES:=$(LINUX_DIR)/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
-  AUTOLOAD:=$(call AutoLoad,20,ipv6)
+  AUTOLOAD:=$(call AutoLoad,09,ipv6)
 endef
 
 define KernelPackage/ipv6/description

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
Index: package/base-files/files/etc/init.d/boot
===================================================================
--- package/base-files/files/etc/init.d/boot	(Revision 11319)
+++ package/base-files/files/etc/init.d/boot	(Arbeitskopie)
@@ -25,6 +25,8 @@
 )}
 
 start() {
+	[ -e /etc/modules.d/09-ipv6 ] && sleep 1
+
 	[ -f /proc/mounts ] || /sbin/mount_root
 	[ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc
 	[ -f /proc/net/vlan/config ] && vconfig set_name_type DEV_PLUS_VID_NO_PAD
Index: package/kernel/modules/network.mk
===================================================================
--- package/kernel/modules/network.mk	(Revision 11319)
+++ package/kernel/modules/network.mk	(Arbeitskopie)
@@ -233,7 +233,7 @@
 	CONFIG_IPV6_MULTIPLE_TABLES=y \
 	CONFIG_IPV6_SUBTREES=y
   FILES:=$(LINUX_DIR)/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
-  AUTOLOAD:=$(call AutoLoad,20,ipv6)
+  AUTOLOAD:=$(call AutoLoad,09,ipv6)
 endef
 
 define KernelPackage/ipv6/description
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to