1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-01 09:41:38 +03:00

[package] base-file: cleanup ipv6 enabling in unbridge

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25473 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2011-02-12 16:14:15 +00:00
parent 66628eee00
commit b543bf484a

View File

@ -416,9 +416,7 @@ unbridge() {
for brdev in $(brctl show | awk '$2 ~ /^[0-9].*\./ { print $1 }'); do
brctl delif "$brdev" "$dev" 2>/dev/null >/dev/null
do_sysctl net.ipv6.conf.$dev.disable_ipv6 0
[ "${dev##wlan}" != "$dev" ] && \
do_sysctl net.ipv6.conf.mon.$dev.disable_ipv6 0
do_sysctl "net.ipv6.conf.$dev.disable_ipv6" 0
done
}
}