openwrtv4/obsolete-buildroot/sources/openwrt/root/sbin/wifi

5 lines
134 B
Bash
Executable file

#!/bin/ash
alias debug=${DEBUG:-:}
debug "### wifi $1 ###"
if=$(awk 'sub(":","") {print $1}' /proc/net/wireless)
$DEBUG wlconf $if $1