summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/init.d/boot
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2013-06-11 14:10:45 +0000
committerSteven Barth <cyrus@openwrt.org>2013-06-11 14:10:45 +0000
commit33c620773dba85ccc93dad328b71aaee54bbbb3b (patch)
treee11ab0d4b048cdecc257d630b9611aeeb3536718 /package/base-files/files/etc/init.d/boot
parente2f33bedfa316a5b202d14bd45b8feb17718069b (diff)
downloadmtk-20170518-33c620773dba85ccc93dad328b71aaee54bbbb3b.zip
mtk-20170518-33c620773dba85ccc93dad328b71aaee54bbbb3b.tar.gz
mtk-20170518-33c620773dba85ccc93dad328b71aaee54bbbb3b.tar.bz2
base-files: remove unnecessary early sysctl-hack
SVN-Revision: 36920
Diffstat (limited to 'package/base-files/files/etc/init.d/boot')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot7
1 files changed, 0 insertions, 7 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index 4f35eac..d33e8ce 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
}