1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-04 10:11:17 +02:00
openwrt/root/sbin/wifi
Mike Baker 27ac661949 define 'debug' .. mostly cosmetic fix
SVN-Revision: 96
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