On Thu, 18 Dec 2003 13:44:15 +0000
Payal Rathod <[EMAIL PROTECTED]> wrote:

> Hi,
> I want to execute a couple of program like for example,


Create a shell script with execute permission and put it into
/etc/rc.d/init.d.

Create symbolic links in rc0.d and rc6.d as K<number><yourscriptname>
pointing to your script in /etc/rc.d/init.d

say your script name is logshutdown.
Put this into /etc/rc.d/init.d
ln -sf /etc/rc.d/init.d/logshutdown /etc/rc.d/rc0.d/K15logshutdown
ln -sf /etc/rc.d/init.d/logshutdown /etc/rc.d/rc6.d/K15logshutdown


G.Vinubalaji


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to