From owner-cvs-etc Tue Jun 24 21:23:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA29119 for cvs-etc-outgoing; Tue, 24 Jun 1997 21:23:49 -0700 (PDT) Received: from bourbon.sfc.wide.ad.jp (bourbon.sfc.wide.ad.jp [203.178.139.171]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA28989; Tue, 24 Jun 1997 21:20:53 -0700 (PDT) Received: from bourbon.sfc.wide.ad.jp (localhost [127.0.0.1]) by bourbon.sfc.wide.ad.jp (8.8.5/3.5Wpl104/21/97) with ESMTP id NAA04993; Wed, 25 Jun 1997 13:17:55 +0900 (JST) Message-Id: <199706250417.NAA04993@bourbon.sfc.wide.ad.jp> To: dima@FreeBSD.ORG Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG Cc: max@wide.ad.jp Subject: Re: cvs commit: src/etc rc From: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= In-Reply-To: Your message of "Tue, 24 Jun 1997 20:12:14 -0700 (PDT)" References: <199706250312.UAA17480@freefall.freebsd.org> X-Mailer: Mew version 1.54 on Emacs 19.28.1, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 25 Jun 1997 13:17:55 +0900 Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > dima 1997/06/24 20:12:13 PDT > Modified files: > etc rc > Log: > sh /etc/rc.local -> . /etc/rc.local > Revision Changes Path > 1.130 +2 -2 src/etc/rc What's the advantage of the latter form over the former one? I can only see disadvantage. What if rc.local exists but doesn't have execution bit set? Of course you can change the test for rc.local to -x from -f. (If we keep this sh /etc/rc.local -> ./etc/rc.local change, we at least need to make this change to the test for rc.local, I believe.) But if you are not careful enough, there are good possibility that you think rc.local gets executed if it's present. Cheers, Max