From owner-freebsd-newbies Tue Sep 18 20: 8:18 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from tomts15-srv.bellnexxia.net (tomts15.bellnexxia.net [209.226.175.3]) by hub.freebsd.org (Postfix) with ESMTP id E5C5237B40B; Tue, 18 Sep 2001 20:08:12 -0700 (PDT) Received: from scaryg.shacknet.nu ([64.231.109.68]) by tomts15-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010919030812.GYJN6911.tomts15-srv.bellnexxia.net@scaryg.shacknet.nu>; Tue, 18 Sep 2001 23:08:12 -0400 Received: from localhost (freymann@localhost) by scaryg.shacknet.nu (8.11.3/8.11.3) with ESMTP id f8J38au11817; Tue, 18 Sep 2001 23:08:36 -0400 (EDT) (envelope-from freymann@scaryg.shacknet.nu) Date: Tue, 18 Sep 2001 23:08:36 -0400 (EDT) From: "Gerald T. Freymann" To: Nathan Mace Cc: freebsd-questions , freebsd newbies Subject: Re: /etc/rc.local In-Reply-To: <20010918225325.23587c09.mace_nathan@uchaswv.edu> Message-ID: <20010918230732.M11758-100000@scaryg.shacknet.nu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 18 Sep 2001, Nathan Mace wrote: > i've looked and looked and i can't find the 'format' for using the > echo command in the /etc/rc.local file so that when the OS boots it > prints out "starting samba" and then procedes to start the samba > deamons. i know its simple, and i remember seeing it somwhere, i just > can't find it when i need it. thanks With FreeBSD 4+ local startup scripts are now stored in: /usr/local/etc/rc.d and should understand options start|stop Most ports (like samba) will put sample scripts in there for you. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Scary Gerry -- Senior Systems Manager freymann@scaryg.shacknet.nu Now enjoying FreeBSD 4.3-Release along with Gnome and sawfish Windows manager -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message