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