From owner-freebsd-ports@FreeBSD.ORG Tue Sep 2 10:21:38 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9B7316A4BF; Tue, 2 Sep 2003 10:21:38 -0700 (PDT) Received: from cheer.mahoroba.org (flets20-201.kamome.or.jp [218.45.20.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7A4B43F85; Tue, 2 Sep 2003 10:21:34 -0700 (PDT) (envelope-from ume@mahoroba.org) Received: from mille.mahoroba.org (IDENT:i9qgGg54cY44XhB5d+R5NmFac7A7Xd1EGFXMoYsAU3Q5ZjLCKGUS90cXhD6XBvhF@mille.mahoroba.org [IPv6:3ffe:501:185b:8010:202:2dff:fe41:8630]) (user=ume mech=CRAM-MD5 bits=0)h82HLDga037087 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Sep 2003 02:21:13 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Wed, 03 Sep 2003 02:21:13 +0900 Message-ID: From: Hajimu UMEMOTO To: Andreas Klemm In-Reply-To: <20030902164941.GA3147@titan.klemm.apsfilter.org> References: <20030901161847.GA4451@titan.klemm.apsfilter.org> <3F53E1DE.1080800@ciam.ru> <20030902045110.GA14187@titan.klemm.apsfilter.org> <20030902155848.GA21140@teddy.fas.com> <20030902164941.GA3147@titan.klemm.apsfilter.org> User-Agent: xcite1.38> Wanderlust/2.11.0 (Wonderwall) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 4.8-RELEASE-p3 MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=-2.0 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: ports@FreeBSD.org cc: stan Subject: Re: start/stop script woes: ./squid.sh: Cannot determine the PREFIX X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2003 17:21:38 -0000 Hi, >>>>> On Tue, 2 Sep 2003 18:49:41 +0200 >>>>> Andreas Klemm said: andreas> On Tue, Sep 02, 2003 at 11:58:48AM -0400, stan wrote: > I actually prefer installing the start-stop script without the execute bit. > When you boot the mchine, you get reminded what you have installed, but not > enabled. andreas> So you install something so that it doesn't get enabled ? :-> andreas> Well, I think we should keep one scheme, not two. andreas> Currently there exist two methods to prevent startup of andreas> applications after reboot: andreas> a) no execute bit andreas> b) installed as xxx.sh.something andreas> Two are too much. I think the execute bit should be set and andreas> scripts should be installed as xxx.sh.sample. I vote using USE_RC_SUBR=yes. With USE_RC_SUBR=yes, you can set xxx_enable=yes in your /etc/rc.conf. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/