Displaying 1 result from an estimated 1 matches for "originating_device".
2009 Jul 14
1
[PATCH node] Filters out all non-physical networking devices.
...p_menu
udi_list=$(hal-find-by-capability --capability net.80203)
if [ -n "$udi_list" ]; then
for d in $udi_list; do
- NICS="$NICS $(hal-get-property --udi "$d" --key net.interface)"
+ if [[ ! "$(hal-get-property --udi $d --key net.originating_device)" =~ computer ]]; then
+ NICS="$NICS $(hal-get-property --udi "$d" --key net.interface)"
+ fi
done
fi
--
1.6.2.5