mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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:
@@ -231,7 +231,7 @@ EOF
|
||||
detect_atheros() {
|
||||
cd /proc/sys/dev
|
||||
[ -d ath ] || return
|
||||
for dev in wifi*; do
|
||||
for dev in $(ls wifi* 2>&-); do
|
||||
config_get type "$dev" type
|
||||
[ "$type" = atheros ] && return
|
||||
cat <<EOF
|
||||
|
||||
Reference in New Issue
Block a user