base-files: remove unnecessary early sysctl-hack
SVN-Revision: 36920
This commit is contained in:
parent
e2f33bedfa
commit
33c620773d
2 changed files with 1 additions and 8 deletions
|
@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
||||||
include $(INCLUDE_DIR)/version.mk
|
include $(INCLUDE_DIR)/version.mk
|
||||||
|
|
||||||
PKG_NAME:=base-files
|
PKG_NAME:=base-files
|
||||||
PKG_RELEASE:=140
|
PKG_RELEASE:=141
|
||||||
|
|
||||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||||
PKG_BUILD_DEPENDS:=opkg/host
|
PKG_BUILD_DEPENDS:=opkg/host
|
||||||
|
|
|
@ -72,11 +72,4 @@ start() {
|
||||||
rootdev=$(awk 'BEGIN { RS=" "; FS="="; } $1 == "root" { print $2 }' < /proc/cmdline)
|
rootdev=$(awk 'BEGIN { RS=" "; FS="="; } $1 == "root" { print $2 }' < /proc/cmdline)
|
||||||
[ -n "$rootdev" ] && ln -s "$rootdev" /dev/root
|
[ -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
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue