Why won't my script run?

Mark Greenwood fatgerman at ntlworld.com
Sat Mar 14 22:14:27 GMT 2009


On Saturday 14 March 2009 21:34:35 Jonas Norlander wrote:
> 2009/3/14 Mark Greenwood <fatgerman at ntlworld.com>:
> > But I can still do 'sudo service acerfan start' and it starts and does not exit.. so what's going on? Why does it work from the command line but not as part of the init process?
> >
> > Mark
> 
> Do it still run if you close the console you started it from?
> Perhaps you need to start the script in background from /etc/rc.local
> like: /usr/local/bin/acerfand &

Yes it still runs if I close the console. Doing 'acerfand &' doesn't work, it doesn't run at all.

Something is definitely deliberately killing it when I run it as part of the sysinit stuff. I'm exasperated because I got this script off the ubuntu wiki and it works on everything except ubuntu!

I'd post the whole script but it's quite long. If anyone thinks it'll help then I'll do it.

Thanks,

Mark


> 
> / Jonas
> 



More information about the kubuntu-users mailing list