mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 06:57:10 +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:
parent
18030f8bda
commit
78a4e88e76
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user