Date: Wed, 6 Feb 2008 12:26:08 -0500 From: Jerry McAllister <jerrymc@msu.edu> To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> Cc: Jerry McAllister <jerrymc@msu.edu>, navneet Upadhyay <navneet.upadhyay@gmail.com>, freebsd-questions@freebsd.org Subject: Re: script to be executed on system startup. Message-ID: <20080206172608.GC19532@gizmo.acns.msu.edu> In-Reply-To: <20080206174632.B4330@wojtek.tensor.gdynia.pl> References: <1563a4fd0802060609j59451879h3920be790d7667c0@mail.gmail.com> <20080206152833.U3736@wojtek.tensor.gdynia.pl> <20080206154317.GC18883@gizmo.acns.msu.edu> <20080206174632.B4330@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 06, 2008 at 05:46:40PM +0100, Wojciech Puchar wrote: > > > >No, don't add anything to rc.local. > > no because of? > Quote from man rc Typically, the /usr/local/etc/rc.d/ mechanism is used instead of rc.local these days but if you want to use rc.local, it is still supported. In this case, it should source /etc/rc.conf and contain additional custom startup code for your system. The best way to handle rc.local, however, is to separate it out into rc.d/ style scripts and place them under /usr/local/etc/rc.d/. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080206172608.GC19532>