diff options
author | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-02-08 08:21:32 +0000 |
---|---|---|
committer | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-02-08 08:21:32 +0000 |
commit | bb9e83fe54a722eb0c33fb706a4618723a6a0668 (patch) | |
tree | b5ff011ce0ebd587881e9d09c1acd46823ccc6d5 /openwrt/target/default/target_skeleton/sbin | |
parent | 7209375d881b3d623c076c933fb6c26473907e9d (diff) |
add hackish makfile, so that other developers could build images. anyone shuld clean this up, but I am busy working on kernel stuff. ok @mbm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@225 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/default/target_skeleton/sbin')
-rwxr-xr-x | openwrt/target/default/target_skeleton/sbin/wifi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/target/default/target_skeleton/sbin/wifi b/openwrt/target/default/target_skeleton/sbin/wifi index 6360fff04..a8d413df0 100755 --- a/openwrt/target/default/target_skeleton/sbin/wifi +++ b/openwrt/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 |