summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/network/config.sh
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-10 23:48:10 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-10 23:48:10 +0000
commit27da9d1984e2c7eb45d00cb288b6063a8ff47170 (patch)
treef339f91bc4244599390befbc45423f583059f664 /package/base-files/files/lib/network/config.sh
parent6ccd4143eb2e40fea13b7064ee9e9c645b0c4572 (diff)
downloadmaster-31e0f0ae-27da9d1984e2c7eb45d00cb288b6063a8ff47170.tar.gz
master-31e0f0ae-27da9d1984e2c7eb45d00cb288b6063a8ff47170.tar.bz2
master-31e0f0ae-27da9d1984e2c7eb45d00cb288b6063a8ff47170.zip
base-files: move ipv6 module loading from setup_interface() to addif() in the hotplug call, this ensures that ipv6 is loaded before any interfaces or aliases with ip6addr option are configured (#5356)
SVN-Revision: 17217
Diffstat (limited to 'package/base-files/files/lib/network/config.sh')
-rwxr-xr-xpackage/base-files/files/lib/network/config.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh
index a5cadf61bd..bfadf40c89 100755
--- a/package/base-files/files/lib/network/config.sh
+++ b/package/base-files/files/lib/network/config.sh
@@ -251,15 +251,6 @@ setup_interface() {
sleep 1
}
- # Check whether this interface has an IPv6 address
- # defined and ensure that the kmod is loaded since
- # ifup could be triggered before modules are loaded.
- local hasipv6
- config_get hasipv6 "$config" ip6addr
- [ -n "$hasipv6" ] && [ ! -d /proc/sys/net/ipv6 ] && {
- grep -q '^ipv6' /etc/modules.d/* && insmod ipv6
- }
-
# Interface settings
grep "$iface:" /proc/net/dev > /dev/null && {
local mtu macaddr