On Thu, Jul 01, 2004 at 23:25 +0200, Thomas Hood wrote:
> The problem appears to be that the busybox modprobe returns a
> nonzero status if the modules is already loaded. This is a bug
> in busybox's modprobe IMHO. However, /etc/init.d/pcmcia should
> handle errors a bit more usefully than by means of "|| break".
I think the break stuff is there because it is presumed that modprobe
will print an error message if it fails, so there's no need for the
script to do that. Do you think the script should print an error
message as well?
On Thu, Jul 01, 2004 at 23:25 +0200, Thomas Hood wrote:
> The problem appears to be that the busybox modprobe returns a
> nonzero status if the modules is already loaded. This is a bug
> in busybox's modprobe IMHO. However, /etc/init.d/pcmcia should
> handle errors a bit more usefully than by means of "|| break".
I think the break stuff is there because it is presumed that modprobe
will print an error message if it fails, so there's no need for the
script to do that. Do you think the script should print an error
message as well?
--
Pelle