8 mac=$(/sbin/ifconfig "$iface" | sed -n -e '/^.*HWaddr \([:[:xdigit:]]*\).*/{s//\1/;y/ABCDEF/abcdef/;p;q;}')
11 while read testmac scheme; do
12 if [ "$which" ]; then continue; fi
13 if [ "$mac" = "$(echo "$testmac" | sed -e 'y/ABCDEF/abcdef/')" ]; then which="$scheme"; fi
16 if [ "$which" ]; then echo $which; exit 0; fi