projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove ipkg list file before creating a new one (for squashfs)
[openwrt.git]
/
target
/
default
/
target_skeleton
/
sbin
/
wifi
diff --git
a/target/default/target_skeleton/sbin/wifi
b/target/default/target_skeleton/sbin/wifi
index
6360fff
..
a8d413d
100755
(executable)
--- a/
target/default/target_skeleton/sbin/wifi
+++ b/
target/default/target_skeleton/sbin/wifi
@@
-1,5
+1,5
@@
#!/bin/ash
alias debug=${DEBUG:-:}
debug "### wifi $1 ###"
-if=$(
awk 'sub(":","") {print $1}' /proc/net/wireless
)
+if=$(
cat /proc/net/dev | awk -F: '/eth/ {wifi=$1;} END { print wifi}'
)
$DEBUG wlconf $if $1
This page took
0.021875 seconds
and
4
git commands to generate.