Openwrt/openwrt/target/default/target_skeleton/sbin/wifi

6 lines
151 B
Bash
Executable File

#!/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