define 'debug' .. mostly cosmetic fix

SVN-Revision: 96
This commit is contained in:
Mike Baker 2004-07-13 07:03:14 +00:00
parent b022d966eb
commit 27ac661949
1 changed files with 1 additions and 0 deletions

View File

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