[Goodies-dev] [Bug 9076] [PATCH] Run command to return network device to listen to

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Jul 10 19:49:18 CEST 2012


https://bugzilla.xfce.org/show_bug.cgi?id=9076

--- Comment #3 from Miguel Guedes <miguel.a.guedes at gmail.com> ---
Bugzilla wouldn't allow me to attach script; pasting it here.
-----

#!/bin/bash

test -z `ifconfig eth0|grep -i 'inet addr'` && echo 'wlan0' || echo 'eth0'

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the Goodies-dev mailing list