openwrt-owl/root/sbin/wifi

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