debnet: Ignore loop devices
authorMichael Prokop <mika@grml.org>
Sun, 13 May 2012 15:57:10 +0000 (17:57 +0200)
committerMichael Prokop <mika@grml.org>
Sun, 13 May 2012 15:57:10 +0000 (17:57 +0200)
commit80d07bb5f7b87a990da936f1c3857991187fd709
tree022aeb1ae5ddbb297104fce854b020891178450c
parent073a7888068f23b2a37c177dd6fc2ea7ae5c2c28
debnet: Ignore loop devices

Quoting from http://bts.grml.org/grml/issue1166:

| I booted using the options lvm debnet, expecting debnet to use the
| /etc/network/interfaces file from the LVM logical volume. Instead, it
| used the /etc/network/interfaces file from /dev/loop0, because that is
| listed earlier in /proc/partitions.

Thanks: John S. Skogtvedt <jss@bzz.no> for bugreport and patch
sbin/debnet