From f8cb31d28afe0a0efaeeb888dd06ef21f9f94a06 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 11 Jun 2013 14:10:45 +0000 Subject: base-files: remove unnecessary early sysctl-hack git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36920 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/init.d/boot | 7 ------- 1 file changed, 7 deletions(-) (limited to 'package/base-files/files') diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 4f35eac7b3..d33e8ce7f8 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -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 } -- cgit v1.2.3