The default runlevel is 3, iirc, and therefore scripts are run
from /etc/rc.d/rc3.d. Scripts are run from the dir
/etc/rc.d/rc<runlevel>.d, as per default. If you want a script to run in a
certain runlevel, you could either create it in that runlevel's specific
directory, or create it in /etc/rc.d/init.d, and symlink it, like the
defaults. Keep in mind that the script's name in that specific dir is
important. Scripts with higher numbers in their name get executed later,
such as S40crond being executed before S91smb. You might look into the
graphical runlevel tool, as well, called tksysv. (Can also be run from
control-panel, of course.) HTH

-----------------------------------------------------------
Matt Housh                         email: [EMAIL PROTECTED]
MicroComputer Specialist                University of Tulsa
                           Engineering and Natural Sciences

    "I don't remember yesterday. And today, it rained."

On 29 May 1998, Jake Colman wrote:

> 
> How do I determine which scripts should be assigned to which runlevels?  If I
> want to start running something like amd or autofs, how do I find out the
> 'preferred' runlevels that the start/stop scripts should be assigned to?
> 
> -- 
> Jake Colman                     
> 
> Principia Partners LLC                  Phone: (201) 946-0300
> Harborside Financial Center               Fax: (201) 946-0320
> 902 Plaza II                           Beeper: (800) 505-2795
> Jersey City, NJ 07311                  E-mail: [EMAIL PROTECTED]
>                                        E-mail: [EMAIL PROTECTED]
>                                           web: http://www.ppllc.com
> 
> 
> -- 
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
>          To unsubscribe: mail [EMAIL PROTECTED] with 
>                        "unsubscribe" as the Subject.
> 


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to