On line 145 of /etc/hotplug/usb.rc, shouldn't $COUNT -le 2 be $COUNT -lt 2 ?
This is causing '/etc/init.d/hotplug start' to fail on my system.
To me, this makes sense since there are 2 directories, drivers and devices, so
a $COUNT less than 2 would indicate failure, not a $COUNT less than or equal to
2.
By the way, this is with hotplug-200020826.ebuild (I had the same problem with
20020401-r1)
Reproducible: Always
Steps to Reproduce:
1. /etc/init.d/hotplug start
Actual Results:
Starting USB and PCI hotplugging
hotplug script /etc/hotplug/usb.rc failed to start
Expected Results:
should've succesfully started
using sh -x /etc/hotplug/usb.rc start, I was able to trace the the alleged bug
to line 145 (see details section for proposed solution)