From owner-freebsd-questions Sun Mar 16 7: 3:53 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D5F737B401 for ; Sun, 16 Mar 2003 07:03:51 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 5B65D43FA3 for ; Sun, 16 Mar 2003 07:03:50 -0800 (PST) (envelope-from mwm-dated-1048259029.aff504@mired.org) Received: (qmail 27546 invoked from network); 16 Mar 2003 15:03:49 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 16 Mar 2003 15:03:49 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15988.37461.141108.535083@guru.mired.org> Date: Sun, 16 Mar 2003 09:03:49 -0600 To: "Jorge Mario G." Cc: Subject: Re: a bit confused with new rc.d system in 5.0 In-Reply-To: <4081.192.168.0.4.1047816356.squirrel@mail.linopryne.com> References: <4081.192.168.0.4.1047816356.squirrel@mail.linopryne.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.71 (Hoop, Jr.) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In <4081.192.168.0.4.1047816356.squirrel@mail.linopryne.com>, Jorge Mario G. 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. 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