Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Herculito on March 07, 2002, 02:48:55 PM

Title: Start progam automaticaly at boot
Post by: Herculito on March 07, 2002, 02:48:55 PM
Hi,

Is there any how to describing how  to edit rc.local to start a program automaticaly at boot?

TIA

las
Title: Re: Start progam automaticaly at boot
Post by: Confucius on March 07, 2002, 05:04:27 PM
If you know how to start a program u can simply put it in the rc.local at the end and it will start. I do the same myself too.

Harro
Title: Re: Start progam automaticaly at boot
Post by: Herculito on March 07, 2002, 05:16:42 PM
Thnx for your reply Confucius,

I tried to do that but it didn't work (e-smith 5.1.2) could you mail me an example ?
I need to start the following program lcdproc -s 127.0.0.1 C -p 13666

TIA
las
Title: Re: Start progam automaticaly at boot
Post by: Alex Henriksen on March 08, 2002, 05:01:37 AM
Try with "lcdproc -s 127.0.0.1 C -p 13666 &"
Or maybe "lcdproc -s localhost C -p 13666 &"
Title: Re: Start progam automaticaly at boot
Post by: Confucius on March 08, 2002, 12:46:30 PM
I would put the full path inthere too, like :

/usr/sbin/lcdproc -s 127.0.0.1 C -p 13666 &

If the file is located in the /usr/sbin offcourse. This to make sure the server can find it at all times.

Harro