Date: Tue, 27 Jul 2004 19:38:23 +0300 From: Mike Makonnen <mtm@identd.net> To: Alex Kapranoff <kappa@rambler-co.ru> Cc: current@freebsd.org Subject: Re: rc.d/localpkg Message-ID: <20040727163822.GC81394@rogue.acs-et.com> In-Reply-To: <20040727113350.GA63833@capella.park.rambler.ru> References: <9B5C1FCAFB35084787C21EFFFA78DD9EE48B@EBE1.gc.nat> <20040727074253.GD1403@rogue.acs-et.com> <20040727113350.GA63833@capella.park.rambler.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 27, 2004 at 03:33:50PM +0400, Alex Kapranoff wrote: > * Mike Makonnen <mtm@identd.net> [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 !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040727163822.GC81394>