1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 22:43:53 +01: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