File powerpc-utils.ofpathname.bootlist.patch of Package powerpc-utils
---
scripts/ofpathname | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/scripts/ofpathname
+++ b/scripts/ofpathname
@@ -352,7 +352,7 @@ l2of_ide()
#
l2of_ethernet()
{
- local sysfs_eth=`$FIND /sys -name $DEVICE 2> /dev/null`
+ local sysfs_eth=`$FIND /sys -name $DEVICE -type d 2> /dev/null`
if [[ -z $sysfs_eth ]]; then
err $ERR_NOT_CONFIG
fi