[gobolinux-devel] [gobolinux-commits] r2977 - trunk/ConfigTools/bin
André Detsch
detsch at gobolinux.org
Thu Mar 20 02:29:53 NZDT 2008
On Wed, Mar 19, 2008 at 8:38 AM, <mohjive at svn.gobolinux.org> wrote:
> + ifconfig ath${i} &> /dev/null && echo eth${i}
Maybe (...) && echo ath${i}?
> + ifconfig wlan${i} &> /dev/null && echo eth${i}
Same here, but echo wlan${i}
What about:
for iface_type in eth ath wlan
do
for i in `seq 0 9`;
do
ifconfig ${iface_type}${i} &> /dev/null && echo ${iface_type}${i}
done
done
--
Andre Detsch
More information about the gobolinux-devel
mailing list