Or, as it's RedHat, use the chkconfig utility after creating your rc script
in the /etc/rc.d/init.d directory.  It handles the creation of the
symlinks, by run level.  Saves you a few steps, and if consistently used
produces consistent results (unlike my lets-toss-something-together usual
level of consistency :-)

-Tillman Hodgson

"Soffen, Matthew" wrote:

> OR.... What you do is add a single line to the /etc/rc.d/rc.local file.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> > Sent: Monday, March 29, 1999 11:36 AM
> > To:   Greg
> > Cc:   [EMAIL PROTECTED]
> > Subject:      Re: running qmail-pop3d in RH's /etc/init.d/*
> >
> > On Mon, Mar 29, 1999 at 11:27:19PM -1000, Greg wrote:
> > > yup, it is there /etc/init.d/.... and it is executable, that's
> > > what's got me stuffed?
> > > i'll check out linuxconf, and it that fails, rc.local's the go...
> > > that's how I do things on my "slack" boxes, even a nong! like me,
> > > can follow that.
> > >
> >
> > Hey,
> >
> > Did you figure it out?
> >
> > You have to simbolically link the files in /etc/rc.d/init.d to
> > one of the startup directories. For example, here is how I
> > have my qmail startup script done:
> >
> > [kbo@webmail /]$ ls -l /etc/rc.d/*/*qmail
> > -rwxr-xr-x   1 root     root          886 Mar 22 12:12
> > /etc/rc.d/init.d/qmail
> > lrwxrwxrwx   1 root     root           22 Mar 13 12:11
> > /etc/rc.d/rc0.d/K30qmail
> > -> /etc/rc.d/init.d/qmail
> > lrwxrwxrwx   1 root     root           22 Mar 13 12:11
> > /etc/rc.d/rc1.d/K30qmail
> > -> /etc/rc.d/init.d/qmail
> > lrwxrwxrwx   1 root     root           22 Mar 13 12:11
> > /etc/rc.d/rc2.d/K30qmail
> > -> /etc/rc.d/init.d/qmail
> > lrwxrwxrwx   1 root     root           22 Mar 13 12:11
> > /etc/rc.d/rc3.d/S80qmail
> > -> /etc/rc.d/init.d/qmail
> > lrwxrwxrwx   1 root     root           22 Mar 13 12:11
> > /etc/rc.d/rc4.d/K30qmail
> > -> /etc/rc.d/init.d/qmail
> > lrwxrwxrwx   1 root     root           22 Mar 13 12:11
> > /etc/rc.d/rc5.d/K30qmail
> > -> /etc/rc.d/init.d/qmail
> > lrwxrwxrwx   1 root     root           22 Mar 13 12:11
> > /etc/rc.d/rc6.d/K30qmail
> > -> /etc/rc.d/init.d/qmail
> >
> > Ken Jones
> > Inter7

Reply via email to