summaryrefslogtreecommitdiffstats
path: root/openwrt/target/default/target_skeleton/sbin/wifi
blob: 6360fff0497fa8eb790e250e1877a8f7d8093fa8 (plain)
1
2
3
4
5
#!/bin/ash
alias debug=${DEBUG:-:}
debug "### wifi $1 ###"
if=$(awk 'sub(":","") {print $1}' /proc/net/wireless)
$DEBUG wlconf $if $1