Date: Fri, 24 Aug 2007 17:13:31 +0100 From: Alex Zbyslaw <xfb52@dial.pipex.com> To: Zbigniew Szalbot <zbigniew@szalbot.homedns.org> Cc: Freebsd questions <freebsd-questions@freebsd.org> Subject: Re: load script at bootup Message-ID: <46CF03AB.5030005@dial.pipex.com> In-Reply-To: <223ba4b925eeff50b090a8bd14840467@szalbot.homedns.org> References: <6.0.0.22.2.20070823135819.0256fc60@mail.computinginnovations.com> <223ba4b925eeff50b090a8bd14840467@szalbot.homedns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Zbigniew Szalbot wrote: >I also have a script that I want to start at boot time and I simply >symlinked it to /usr/local/etc/rc.d/ >It starts fine but now I wonder if maybe this is not the proper way to >start up scripts? > > =20 > I don't think there's anything wrong with that solution, and I myself=20 prefer it. (I symlink from a CVSed area). rc.d is very flexible and=20 everything that happens at boot time is all in one (or two :-)) places. = And you can run something every time the machine is shut down as well as = when it's rebooted. Can't do that with cron :-) =A30.02 --Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46CF03AB.5030005>