Date: Wed, 19 Jul 2000 02:01:27 +0900 From: "Daniel C. Sobral" <dcs@newsguy.com> To: Ben Smithurst <ben@FreeBSD.org> Cc: freebsd-doc@FreeBSD.org Subject: Re: rc.d and rc.local Message-ID: <39748D67.BE519EB0@newsguy.com> References: <396F6607.6C764850@newsguy.com> <20000715031452.C20004@kilt.nothing-going-on.org> <20000717214927.B4668@strontium.scientia.demon.co.uk> <39746C8A.4B97AB56@newsguy.com> <20000718164946.Y4668@strontium.scientia.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Ben Smithurst wrote: > > ok, I'll say something to the effect that they're executed immediately > after rc.local. I hope you checked this, instead of trusting me blindly. :-) > > and reverse at shutdown, > > Hmm? I don't see that. > > for dir in ${local_startup}; do > if [ -d "${dir}" ]; then > for script in ${dir}/*.sh; do > if [ -x "${script}" ]; then > (set -T > trap 'exit 1' 2 > ${script} stop) > fi > done > fi > done On of the points raised in the discussion was that the order ought to be reversed at shutdown. Please contact the author and ask him directly about that. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@a.crazy.bsdconspiracy.net "There is no spoon." -- Kiki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39748D67.BE519EB0>