2
0
forked from Ivasoft/openwrt

base-files: Fix race-conditions with IPv6 sysctls

SVN-Revision: 35368
This commit is contained in:
Steven Barth
2013-01-29 10:13:33 +00:00
parent 714b2cfef3
commit ea7c9c85a8
4 changed files with 9 additions and 2 deletions

View File

@@ -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() {