We are trying to write a script to output all the active wifi and
ethernet connections, if any, and turn off the wifi if there is an
active ethernet connection. This is not working at all, because ifconfig
is not returning the names of the connection...