Mike Baker 4bab11f031 define 'debug' .. mostly cosmetic fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@96 3c298f89-4303-0410-b956-a3cf2f4a3e73
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