aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d/boot
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2013-01-29 10:13:33 +0000
committerSteven Barth <cyrus@openwrt.org>2013-01-29 10:13:33 +0000
commitea7c9c85a8bc5b6b91594572b60ef20d5763c932 (patch)
treeeca04e9743add0c07cc8ce270ebeb8a08a368ed9 /package/base-files/files/etc/init.d/boot
parent714b2cfef3d4736cfbc62c5f45c7b62f7afa67e1 (diff)
downloadupstream-ea7c9c85a8bc5b6b91594572b60ef20d5763c932.tar.gz
upstream-ea7c9c85a8bc5b6b91594572b60ef20d5763c932.tar.bz2
upstream-ea7c9c85a8bc5b6b91594572b60ef20d5763c932.zip
base-files: Fix race-conditions with IPv6 sysctls
SVN-Revision: 35368
Diffstat (limited to 'package/base-files/files/etc/init.d/boot')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index ef97383d8d..1800342367 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -95,6 +95,9 @@ start() {
rootdev=$(awk 'BEGIN { RS=" "; FS="="; } $1 == "root" { print $2 }' < /proc/cmdline)
[ -n "$rootdev" ] && ln -s "$rootdev" /dev/root
}
+
+ # run early sysctl
+ [ -f /etc/sysctl_early.conf ] && sysctl -p /etc/sysctl_early.conf -e >&-
}
stop() {