Signed-off-by: Jonh Wendell <[email protected]>
---
.../netifd/files/etc/hotplug.d/iface/10-sysctl | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/package/network/config/netifd/files/etc/hotplug.d/iface/10-sysctl
b/package/network/config/netifd/files/etc/hotplug.d/iface/10-sysctl
index 33ac5c3..0aaa641 100644
--- a/package/network/config/netifd/files/etc/hotplug.d/iface/10-sysctl
+++ b/package/network/config/netifd/files/etc/hotplug.d/iface/10-sysctl
@@ -1,6 +1,9 @@
# Skip fake devices (e.g. relayd)
grep -qs "^ *$DEVICE:" /proc/net/dev || exit 0
+# Check if the kernel supports ipv6
+[ -f /proc/net/if_inet6 ] || exit 0
+
case "$ACTION" in
ifup)
include /lib/network
--
1.7.9.5
--
Jonh Wendell
http://www.bani.com.br
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel