Re: rc.d/localpkg

From: Mike Makonnen <mtm_at_identd.net>
Date: Tue, 27 Jul 2004 19:38:23 +0300
On Tue, Jul 27, 2004 at 03:33:50PM +0400, Alex Kapranoff wrote:
> * Mike Makonnen <mtm_at_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_at_identd.net | Fingerprint: AC7B 5672 2D11 F4D0 EBF8  5279 5359 2B82 7CD4 1F55
mtm_at_FreeBSD.Org| FreeBSD - Unleash the Daemon !
Received on Tue Jul 27 2004 - 14:38:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:03 UTC