Bugzilla – Bug 119681
macio.rc does not handle empty device list
Last modified: 2008-07-16 15:46:38 UTC
a macio bus can also be empty. macio.rc does not check that. lemon:~ # tree /sys/bus/macio /sys/bus/macio |-- devices `-- drivers 2 directories, 0 files lemon:~ # find /sys/bus/macio /sys/bus/macio /sys/bus/macio/drivers /sys/bus/macio/devices
I have no idea about macio. care to fix the script?
just add test -d $foo or test -f $foo ?
All *.rc scripts are gone now and replaced by "sysfs coldplug".