a bit confused with new rc.d system in 5.0

2003-03-16 Thread Jorge Mario G.
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

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

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

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

Thanks


Jorge






To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: a bit confused with new rc.d system in 5.0

2003-03-16 Thread Mike Meyer
In [EMAIL PROTECTED], Jorge Mario G. [EMAIL PROTECTED] 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 [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: a bit confused with new rc.d system in 5.0

2003-03-16 Thread Dancho Penev
On Sun, Mar 16, 2003 at 07:05:56AM -0500, Jorge Mario G. wrote:
Date: Sun, 16 Mar 2003 07:05:56 -0500 (EST)
Subject: a bit confused with new rc.d system in 5.0
From: Jorge Mario G. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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
I tried the handbook but there is no info about how to properly use this
new system!.
I like to integrate my scripts with the system so I would like to learn
this new stuff
so please if anyone could point me to some kind of doc/info I'll
appreciate it
rc man page is pretty well starting point, also look at NetBSD site:
http://www.netbsd.org/Documentation/rc/ (because rc.d system is
imported from netbsd).
Thanks

Jorge





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
--
Regards,
Dancho Penev
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message