Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2003 16:38:35 -0400
From:      Mike Makonnen <mtm@identd.net>
To:        obrien@FreeBSD.org
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc rc.subr src/etc/defaults rc.conf src/etc/rc.d dhclient src/share/man/man5 rc.conf.5
Message-ID:  <20030630203836.FGMK246.out004.verizon.net@kokeb.ambesa.net>
In-Reply-To: <20030630202352.GA16908@dragon.nuxi.com>
References:  <200306071031.h57AVIk6029919@repoman.freebsd.org> <20030630202352.GA16908@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 30 Jun 2003 13:23:52 -0700
"David O'Brien" <obrien@FreeBSD.org> wrote:

> On Sat, Jun 07, 2003 at 03:31:18AM -0700, Mike Makonnen wrote:
> > mtm         2003/06/07 03:31:18 PDT
> >   FreeBSD src repository
> >   Modified files:
> >     etc                  rc.subr 
> >     etc/defaults         rc.conf 
> >     etc/rc.d             dhclient 
> >     share/man/man5       rc.conf.5 
> >   Log:
> >   The dhcp_program and dhcp_flags variables have to be renamed to
> >   take advantage of the rc.subr(8) glue. They are renamed dhclient_program
> >   and dhclient_flags.
> 
> Why were they renamed?  The framework existed to allow non-ISC dhcp
> clients.  The name "dhclient" is specific to ISC's client.

That's the name of the service it provides (same as NetBSD). It hadn't occured
to me to rename the service instead of the variables, but that's possible also.
Feel free to reimplent it that way, if you wish. It should just be a matter of
reverting the variable names, changing service name in the script, and modifying
the headers of other scripts to recognize the new name.

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm@identd.net | D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
mtm@FreeBSD.Org| FreeBSD - The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030630203836.FGMK246.out004.verizon.net>