diff options
author | Steven Barth <steven@midlink.org> | 2013-01-29 10:13:33 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-01-29 10:13:33 +0000 |
commit | 581546b6d23128a7c12278eed497ee0321db8578 (patch) | |
tree | 811be4b64d9c43e789705f097b999c15a33198d4 /package/base-files/files/etc/init.d | |
parent | 9140ba77f8c1f7d00677d0457d780645735d065a (diff) | |
download | master-187ad058-581546b6d23128a7c12278eed497ee0321db8578.tar.gz master-187ad058-581546b6d23128a7c12278eed497ee0321db8578.tar.bz2 master-187ad058-581546b6d23128a7c12278eed497ee0321db8578.zip |
base-files: Fix race-conditions with IPv6 sysctls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35368 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc/init.d')
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 3 |
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() { |