From owner-freebsd-current@FreeBSD.ORG Tue Jul 27 16:07:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7829E16A4CE for ; Tue, 27 Jul 2004 16:07:15 +0000 (GMT) Received: from park.rambler.ru (park.rambler.ru [81.19.64.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 219AB43D3F for ; Tue, 27 Jul 2004 16:07:14 +0000 (GMT) (envelope-from kappa@rambler-co.ru) Received: from capella.park.rambler.ru ([81.19.65.30]) by park.rambler.ru (8.12.6/8.12.6) with ESMTP id i6RG7AgT029372; Tue, 27 Jul 2004 20:07:10 +0400 (MSD) (envelope-from kappa@rambler-co.ru) Received: by capella.park.rambler.ru (Postfix, from userid 1001) id 7560445C5; Tue, 27 Jul 2004 20:05:55 +0400 (MSD) Date: Tue, 27 Jul 2004 20:05:55 +0400 From: Alex Kapranoff To: Scot Hetzel , "Robin P. Blanchard" , current@freebsd.org, Mike Makonnen Message-ID: <20040727160555.GA65312@capella.park.rambler.ru> References: <9B5C1FCAFB35084787C21EFFFA78DD9EE48B@EBE1.gc.nat> <20040727113350.GA63833@capella.park.rambler.ru> <790a9fff04072707497059c616@mail.gmail.com> <20040727152043.GA70747@minubian.inethouston.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040727152043.GA70747@minubian.inethouston.net> X-Operating-System: FreeBSD 5.2-CURRENT i386 Organization: Inner Mongolia User-Agent: Mutt/1.5.6i X-DCC-RAMBLER-Metrics: park.rambler.ru 32700; Body=4 Fuz1=4 Fuz2=4 Subject: Re: rc.d/localpkg X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2004 16:07:15 -0000 * David W. Chapman Jr. [July 27 2004, 19:20]: > On Tue, Jul 27, 2004 at 09:49:16AM -0500, Scot Hetzel wrote: > > On Tue, 27 Jul 2004 15:33:50 +0400, Alex Kapranoff wrote: > > > > > Since the program postfix is not a shell script the recommendation is > > to create a rcNG shell script to start and stop postfix, instead of > > creating a link to the executeable. This way you could pass flags to > > postfix by defining postfix_flags in /etc/rc.conf, /etc/rc.conf.local, > > or /etc/rc.conf.d/postfix. > > postfix really would not need any flags passed to it at startup time > except "start" so this wouldn't be a problem either. Except that sourcing binary executables into shell is counter-productive whether there're additional vars or not :) -- Alex Kapranoff.