Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2001 23:08:36 -0400 (EDT)
From:      "Gerald T. Freymann" <freymann@scaryg.shacknet.nu>
To:        Nathan Mace <mace_nathan@uchaswv.edu>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.ORG>, freebsd newbies <freebsd-newbies@FreeBSD.ORG>
Subject:   Re: /etc/rc.local
Message-ID:  <20010918230732.M11758-100000@scaryg.shacknet.nu>
In-Reply-To: <20010918225325.23587c09.mace_nathan@uchaswv.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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-questions" in the body of the message




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