Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2003 09:03:49 -0600
From:      Mike Meyer <mwm-dated-1048259029.aff504@mired.org>
To:        "Jorge Mario G." <list@linopryne.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: a bit confused with new rc.d system in 5.0
Message-ID:  <15988.37461.141108.535083@guru.mired.org>
In-Reply-To: <4081.192.168.0.4.1047816356.squirrel@mail.linopryne.com>
References:  <4081.192.168.0.4.1047816356.squirrel@mail.linopryne.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In <4081.192.168.0.4.1047816356.squirrel@mail.linopryne.com>, Jorge Mario G. <list@linopryne.com> typed:
> Hi there
> I just installed 5.0
> the first thing I noticed is the new rc system
> yeah looks good but I'm totally lost!
> so what is the difference between /etc/rc.sendmail and /erc/rc.d/sendmail

/etc/rc.d/sendmail integrates into the new rc system.

> I tried the handbook but there is no info about how to properly use this
> new system!.

To properly use this system, just set the appropriate config variables
in /etc/rc.conf. That hasn't changed.

> I like to integrate my scripts with the system so I would like to learn
> this new stuff

Doing your own scripts works just like it used to. Either put things
in /etc/rc.local - which is depreciated - or put scripts in
/usr/local/etc/rc.d. The latter scripts need to end in ".sh" and be
executable. They should accept an argument of "start" to start things,
and "stop" to stop things.

> so please if anyone could point me to some kind of doc/info I'll
> appreciate it

I don't know of any docs, and the info I'm using is the shell scripts
proper. You might ask on -current if you want more information than
I've provided.

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15988.37461.141108.535083>