X-Git-Url: http://git.grml.org/?p=grml-network.git;a=blobdiff_plain;f=sbin%2Fdebnet;h=e1e811fa6d37fcdd028ec67ad4d016a9ef8ca54d;hp=683b47535a4c7b799f5c8bc70a6be25a27510a37;hb=80d07bb5f7b87a990da936f1c3857991187fd709;hpb=073a7888068f23b2a37c177dd6fc2ea7ae5c2c28 diff --git a/sbin/debnet b/sbin/debnet index 683b475..e1e811f 100755 --- a/sbin/debnet +++ b/sbin/debnet @@ -16,7 +16,7 @@ if [ "$1" = "-h" -o "$1" = "--help" ] ; then exit 0 fi -DEVICES="$(< /proc/partitions tail -n +3 | awk '{print "/dev/"$4}' | tr "\n" " ")" +DEVICES="$(< /proc/partitions tail -n +3 | awk '($4 !~ /loop[0-9]+/) {print "/dev/"$4}' | tr "\n" " ")" DEVICES="$DEVICES $(ls /dev/mapper/*)" FOUND_DEBNET=""