When trying to get the new ipw3945d-1.7.22-r4 working correctly I once ran "modprobe ipw3945" and got the following message: * The pidfile (/var/run/ipw3945d/ipw3945d.pid) is still present. * Please check that the daemon isn't running! * DO NOT USE EXIT IN INIT.D SCRIPTS * This IS a bug, please fix your broken init.d FATAL: Error running install command for ipw3945 And sure enough, the /etc/init.d/ipw3945d init-script uses "exit 1" in it's check-function, I'm guessing that this should be changed to "return 1" or something?
(In reply to comment #0) > When trying to get the new ipw3945d-1.7.22-r4 working correctly I once ran > "modprobe ipw3945" and got the following message: > > * The pidfile (/var/run/ipw3945d/ipw3945d.pid) is still present. > * Please check that the daemon isn't running! > * DO NOT USE EXIT IN INIT.D SCRIPTS > * This IS a bug, please fix your broken init.d > FATAL: Error running install command for ipw3945 > > And sure enough, the /etc/init.d/ipw3945d init-script uses "exit 1" in it's > check-function, I'm guessing that this should be changed to "return 1" or > something? > You are right, I didn't knew using `exit 1' is forbidden nowadays inside the init-script when I wrote the init.d file. Thanks to you, it should be fixed now. Will be on the mirrors on the next sync.