1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 03:58:35 +02:00

fix a harmless warning

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6650 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-03-23 16:48:43 +00:00
parent 18030f8bda
commit 78a4e88e76

View File

@ -231,7 +231,7 @@ EOF
detect_atheros() { detect_atheros() {
cd /proc/sys/dev cd /proc/sys/dev
[ -d ath ] || return [ -d ath ] || return
for dev in wifi*; do for dev in $(ls wifi* 2>&-); do
config_get type "$dev" type config_get type "$dev" type
[ "$type" = atheros ] && return [ "$type" = atheros ] && return
cat <<EOF cat <<EOF