openwrtv3/root/sbin/wifi

5 lines
116 B
Text
Raw Normal View History

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