From owner-freebsd-current@FreeBSD.ORG Tue Jul 27 16:38:33 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 DAFE916A4CF for ; Tue, 27 Jul 2004 16:38:33 +0000 (GMT) Received: from telecom.net.et (sparrow.telecom.net.et [213.55.64.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4CFE43D5D for ; Tue, 27 Jul 2004 16:38:31 +0000 (GMT) (envelope-from mtm@identd.net) Received: from [213.55.65.180] (HELO pool-151-200-10-97.res.east.verizon.net) by telecom.net.et (CommuniGate Pro SMTP 3.4.8) with ESMTP-TLS id 52779919; Tue, 27 Jul 2004 19:31:44 +0300 Received: from rogue.acs-et.com (localhost [127.0.0.1]) ESMTP id i6RGchUQ081491; Tue, 27 Jul 2004 19:38:51 +0300 (EAT) (envelope-from mtm@rogue.acs-et.com) Received: (from mtm@localhost) by rogue.acs-et.com (8.12.11/8.12.11/Submit) id i6RGcRdJ081490; Tue, 27 Jul 2004 19:38:27 +0300 (EAT) (envelope-from mtm) Date: Tue, 27 Jul 2004 19:38:23 +0300 From: Mike Makonnen To: Alex Kapranoff Message-ID: <20040727163822.GC81394@rogue.acs-et.com> References: <9B5C1FCAFB35084787C21EFFFA78DD9EE48B@EBE1.gc.nat> <20040727074253.GD1403@rogue.acs-et.com> <20040727113350.GA63833@capella.park.rambler.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040727113350.GA63833@capella.park.rambler.ru> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD/5.2-CURRENT (i386) cc: "Robin P. Blanchard" cc: current@freebsd.org 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:38:34 -0000 On Tue, Jul 27, 2004 at 03:33:50PM +0400, Alex Kapranoff wrote: > * Mike Makonnen [July 27 2004, 11:42]: > > On Mon, Jul 26, 2004 at 03:00:53PM -0400, Robin P. Blanchard wrote: > > > How does this apply to beasts such as postfix which recommends: > > > > > > cd /usr/local/etc/rc.d > > > ln -s /usr/local/sbin/postfix postfix.sh > > > > That depends. If sbin/postfix is an old-style script then nothing will > > have changed. It gets sourced same as before. If it's an rc.d script then > > it will probably have to be patched to conform to rc.d style. > > % file =postfix > /usr/local/sbin/postfix: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.0.2, dynamically linked (uses shared libs), not stripped Binary's should give 0 matches for rc.d keywords, so they will be treated like old style scripts. However, it might be a good idea to make that explicit. Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | Fingerprint: AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 mtm@FreeBSD.Org| FreeBSD - Unleash the Daemon !