summaryrefslogtreecommitdiffstats
path: root/openwrt/target/default/target_skeleton/sbin/wifi
blob: a8d413df073266444710635530c49dc245adcab8 (plain)
1
2
3
4
5
#!/bin/ash
alias debug=${DEBUG:-:}
debug "### wifi $1 ###"
if=$(cat /proc/net/dev | awk -F: '/eth/ {wifi=$1;} END { print wifi}')
$DEBUG wlconf $if $1