From owner-freebsd-doc Tue Jul 18 10: 1:15 2000 Delivered-To: freebsd-doc@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id BC3BF37B60C; Tue, 18 Jul 2000 10:01:08 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p22-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.87]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id CAA11851; Wed, 19 Jul 2000 02:01:06 +0900 (JST) Message-ID: <39748D67.BE519EB0@newsguy.com> Date: Wed, 19 Jul 2000 02:01:27 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Ben Smithurst Cc: freebsd-doc@FreeBSD.org Subject: Re: rc.d and rc.local 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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