base-files: remove unnecessary early sysctl-hack

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36920 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Steven Barth 2013-06-11 14:10:45 +00:00
parent eda688921a
commit f8cb31d28a
2 changed files with 1 additions and 8 deletions

View File

@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/version.mk
PKG_NAME:=base-files
PKG_RELEASE:=140
PKG_RELEASE:=141
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
PKG_BUILD_DEPENDS:=opkg/host

View File

@ -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
}