forked from Ivasoft/openwrt
base-files: Fix IPv6 early sysctls again * Kernel IPv6 /proc interface inconsistency caused races
SVN-Revision: 35417
This commit is contained in:
@@ -96,8 +96,12 @@ start() {
|
||||
[ -n "$rootdev" ] && ln -s "$rootdev" /dev/root
|
||||
}
|
||||
|
||||
# run early sysctl
|
||||
[ -f /etc/sysctl_early.conf ] && sysctl -p /etc/sysctl_early.conf -e >&-
|
||||
# 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
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
||||
Reference in New Issue
Block a user