aboutsummaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2004-07-13 07:03:14 +0000
committerMike Baker <mbm@openwrt.org>2004-07-13 07:03:14 +0000
commit4bab11f031e60039e47506fd04c3b60a9f5d0495 (patch)
tree8dee373c5a9c53b924cea4972269756498c6816e /root
parent469f518bc019354ec4347761d150de3800883196 (diff)
downloadupstream-4bab11f031e60039e47506fd04c3b60a9f5d0495.tar.gz
upstream-4bab11f031e60039e47506fd04c3b60a9f5d0495.tar.bz2
upstream-4bab11f031e60039e47506fd04c3b60a9f5d0495.zip
define 'debug' .. mostly cosmetic fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@96 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'root')
-rwxr-xr-xroot/sbin/wifi1
1 files changed, 1 insertions, 0 deletions
diff --git a/root/sbin/wifi b/root/sbin/wifi
index b63912ddf8b..03ec66e420a 100755
--- a/root/sbin/wifi
+++ b/root/sbin/wifi
@@ -1,4 +1,5 @@
#!/bin/ash
+ alias debug=${DEBUG:-:}
debug "### wifi $1 ###"
if=$(awk 'sub(":","") {print $1}' /proc/net/wireless)
$DEBUG wlconf $if $1