base-files: remove unnecessary early sysctl-hack
[openwrt/openwrt.git] / package / base-files / files / etc / init.d / boot
index 4f35eac7b35cc49f80920b89c441a44106b1b68b..d33e8ce7f8120acba81d6ec1c8db8a519e4cd756 100755 (executable)
@@ -72,11 +72,4 @@ start() {
                rootdev=$(awk 'BEGIN { RS=" "; FS="="; } $1 == "root" { print $2 }' < /proc/cmdline)
                [ -n "$rootdev" ] && ln -s "$rootdev" /dev/root
        }
-
-       # early sysctl to avoid networking races
-       if [ -d /proc/sys/net/ipv6/conf ]; then
-               for i in /proc/sys/net/ipv6/conf/*/accept_ra; do
-                       echo 0 > $i
-               done
-       fi
 }