RFC: Alternate patch to have true new-style rc.d scripts in ports (without touching localpkg)

Scot Hetzel swhetzel at gmail.com
Tue Aug 17 15:38:15 PDT 2004


On Tue, 17 Aug 2004 15:33:35 -0700, Kevin Oberman <oberman at es.net> wrote:
> > Date: Tue, 17 Aug 2004 17:24:27 -0500
> > From: Scot Hetzel <swhetzel at gmail.com>
> 
> 
> >
> > On Tue, 17 Aug 2004 14:58:14 -0700, Kevin Oberman <oberman at es.net> wrote:
> > > > It is best to leave the moving of these scripts up to the individual
> > > > administrator.
> > >
> > > Only if mergemaster is fixed!
> > >
> > This could be fixed by adding:
> >
> >    # KEYWORD: FreeBSD PORT
> >
> > to each startup script.  Then making mergemaster ignore any script
> > that has PORT in the KEYWORD line.
> 
> Yes, this would work, although I would prefer:
>     # KEYWORD: FreeBSD USER
> since some systems might want to add scripts to rc.local that are not
> from ports.
> 
Another option is to use:
    # KEYWORD: FreeBSD SYSTEM

for system startup scripts and only have mergemaster look at scripts
with SYSTEM as KEYWORD.

Scot


More information about the freebsd-current mailing list