summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-07-13 07:03:14 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-07-13 07:03:14 +0000
commit06a249e3a9e207b07194c767660b176ddaa536fd (patch)
tree8dee373c5a9c53b924cea4972269756498c6816e
parent67ea774121f304d1777745b3e9a499c9177e419d (diff)
define 'debug' .. mostly cosmetic fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@96 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xroot/sbin/wifi1
1 files changed, 1 insertions, 0 deletions
diff --git a/root/sbin/wifi b/root/sbin/wifi
index b63912ddf8..03ec66e420 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