X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e49ecf1adf017e6c29406e084f708b5e3228955c..aa196b361191e3498cd8b96f0669722a4742cca2:/package/base-files/files/etc/hotplug.d/net/10-net diff --git a/package/base-files/files/etc/hotplug.d/net/10-net b/package/base-files/files/etc/hotplug.d/net/10-net index 06e524444..f46dcd08d 100644 --- a/package/base-files/files/etc/hotplug.d/net/10-net +++ b/package/base-files/files/etc/hotplug.d/net/10-net @@ -3,6 +3,12 @@ include /lib/network addif() { + # Ensure that ipv6 is loaded, autoloading happens later but ipv6 might be + # required now for interface setup. + [ -d /proc/sys/net/ipv6 ] || { + grep -q '^ipv6' /etc/modules.d/* && insmod ipv6 + } + # PPP devices are configured by pppd, no need to run setup_interface here case "$INTERFACE" in ppp*) return 0;;