Quote:
Originally Posted by r4jiv007
what if i want to execute a binary file not the shell script ??
and can u please explain me your lines atleast give me a breif
thanks
|
there are files by the name of rc0, rc.1, rc.2 ....
and directories by the name of rc0.d, rc1.d rc2.d ........
which contains the services to be started
Code:
The naming is done on the basis of run level i.e.
run level 0----> rc0.d
run level 5----> rc5.d
'K' and 'S' scripts are used to represent the type of execution
scripts starting with K are executed before S scripts
S stands for start and K stands for stop
Quote:
every file inside rcx.d is linked in /etc/init.d
So put your file in rcx.d and create a link to init.d
|
if you want to execute a binary file make it executable and do as I mentioned
best of luck