[Debian-eeepc-devel] Some experiences with kernel 2.6.31
Luca Niccoli
lultimouomo at gmail.com
Mon Oct 12 09:21:37 UTC 2009
2009/10/12 Luca Niccoli <lultimouomo at gmail.com>:
> What about this version?
Obviously wrong: modprobe returns 0 if the module is blacklisted.
So let's try this way: we always try to load the module. Then, whether
it worked or not, we check for the sysfs directory.
A general question: why init scripts always try to return 0?
In this case, I'd see more reasonable to return 0 if the package is
not installed, 1 if we fail for an other reason: we were supposed to
do something, yet we didn't manage.
Cheers,
Luca
More information about the Debian-eeepc-devel
mailing list