7/21/2008

Add a command to linux so it execeutes a command

How to add a command to linux so it execeutes a command when the server turns on?

You havnt said which distrubution you are running so its hard to answer this question.

But you would need to have the script in your init.d directory

and do chkconfig --add script name

and then

service script name on

0 comments: