Commit c1eec452 authored by Dan Reading's avatar Dan Reading

Added interface type AMPR to the list of interfaces that don't have ethernet

hardware address.
Fixed a egrep expression which was preventing the matching of said list.
parent f9452d81
......@@ -60,7 +60,7 @@ case $os in
esac
# Ignore virtual devices that won't be in the DB
badboys="^(ifb|xenbr|vlan)"
badboys="(ifb|xenbr|vlan|AMPR)"
unset -v d ; declare -a d=($(ifconfig -a | grep $delimiter | grep -Ev $badboys))
declare -i cnt=0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment