1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

Fixed network autoconfiguration as explained in #200, fixes #200

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2912 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2006-01-11 16:13:25 +00:00
parent 2c74298f7c
commit 97c71e562b
2 changed files with 5 additions and 1 deletions

View File

@@ -1,6 +1,9 @@
#!/bin/sh
setup_eth()
{
for part in $(nvram get unused_ifnames); do
[ "$part" = "$INTERFACE" ] && return 0
done
[ -f /proc/net/wl0 ] && {
lsmod | grep wlcompat >&- || insmod wlcompat
}