[Holger Levsen] > Hi, Hi.
> This doesnt work on my laptop: Not even from within d-i, where this code is executed? > $ ip -o link | grep '^.: eth' > $ ip -o link | grep '^..: eth'|cut -d: -f-2 > 66: eth0 > $ I find it hard to believe d-i will assign 66 to eth0 on any laptop by default. Did you test? If so, what is the complete list from ip -o link? > So I'd suggest to use grep '^[0-9]+: eth' or such instead. Not sure if the busybox grep handle it, but will try. Happy hacking -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-edu-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20101231152200.gb23...@login1.uio.no