OpenSuSe 11.4 Calling program at startup

I have written a simple application in C &
Would like to know the easeist ways to call this program from a command line only Server when the server boots up.
I am a noob to SuSe.

Regards,
@

On Fri, 28 Oct 2011 20:13:16 +0000, waipareira wrote:

> I have written a simple application in C & Would like to know the
> easeist ways to call this program from a command line only Server when
> the server boots up. I am a noob to SuSe.

Have a look at the rc.local script in the /etc directory hierarchy.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Normally, you’ll write the command to execute your app (name of the app) in the file /etc/rc.d/after.local if you want it to be run at the end of the init process at all runlevels. This is the equivalent of /etc/rc.local under Unix and some Linuxes.
If you need too run it at the end of the boot process - unlikely - write the command in the file /etc/rc.d/boot.local.

You might want to run it before user login … which is not the same. (?)