[NBLUG/talk] executables to run at boot

Sean seanvanco at gmail.com
Tue Jul 25 16:27:42 PDT 2006


I am still somewhat new to Gentoo, and I have come accross a situation
where I must install software that was originally inteded for another
version (i.e. RedHat w/ kernel 2.4). I believe I have found what I
need to do, but I need to double-ckeck my research.

In order to have a program run at boot, I place the binary file in
/etc/init.d, and then a symbolic link from /etc/runlevels/boot (or
default) pointing to the binary file.

Is this the proper way to handle it? My need to do this came from
./INSTALL attempting to configure the rc.d folders and permissions, so
I need to set it up manually.

Also, I am getting the errors "cannot execute binary file" and "...has
syntax errors in it; not executing". Is that due to the fact that the
file was compiled for another system? I read that it is possible to
cross-compile, and I wanted to get you opinion.

Thank you for your assistance.


Sean



More information about the talk mailing list