Openwrt/openwrt/target/default/target_skeleton/sbin/wifi

6 lines
151 B
Plaintext
Raw Normal View History

2005-02-06 00:58:10 +00:00
#!/bin/ash
alias debug=${DEBUG:-:}
debug "### wifi $1 ###"
if=$(cat /proc/net/dev | awk -F: '/eth/ {wifi=$1;} END { print wifi}')
2005-02-06 00:58:10 +00:00
$DEBUG wlconf $if $1