summaryrefslogtreecommitdiff
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
commit27ac66194964a06dfa01562f0e162f04433a31d5 (patch)
tree8dee373c5a9c53b924cea4972269756498c6816e /root
parentb022d966ebf7d48b87aca12da5f95e2261e46fe8 (diff)
downloadmtk-20170518-27ac66194964a06dfa01562f0e162f04433a31d5.zip
mtk-20170518-27ac66194964a06dfa01562f0e162f04433a31d5.tar.gz
mtk-20170518-27ac66194964a06dfa01562f0e162f04433a31d5.tar.bz2
define 'debug' .. mostly cosmetic fix
SVN-Revision: 96
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 b63912d..03ec66e 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