Hi, On Freitag, 31. Dezember 2010, p...@alioth.debian.org wrote: > New Revision: 72381 > + for iface in $(ip -o link | grep '^.: eth'|cut -d: -f2) ; do
This doesnt work on my laptop: $ ip -o link | grep '^.: eth' $ ip -o link | grep '^..: eth'|cut -d: -f-2 66: eth0 $ So I'd suggest to use grep '^[0-9]+: eth' or such instead. cheers, Holger
signature.asc
Description: This is a digitally signed message part.