Why won't my script run?
fatgerman at ntlworld.com
Sat Mar 14 23:36:45 UTC 2009
On Saturday 14 March 2009 22:14:27 Mark Greenwood wrote:
> 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.
Ah never mind, I found a kernel module that does the same thing, built it and now my fan is quiet.
Hell, 5 hours of my life....
Thanks for the replies.
> > / Jonas
More information about the kubuntu-users