openwrt/root/sbin/wifi
Mike Baker 27ac661949 define 'debug' .. mostly cosmetic fix
SVN-Revision: 96
2004-07-13 07:03:14 +00:00

6 lines
142 B
Bash
Executable File

#!/bin/ash
alias debug=${DEBUG:-:}
debug "### wifi $1 ###"
if=$(awk 'sub(":","") {print $1}' /proc/net/wireless)
$DEBUG wlconf $if $1