cvs commit: src/etc rc.subr src/etc/defaults rc.conf
src/etc/rc.d dhclient src/share/man/man5 rc.conf.5
Mike Makonnen
mtm at identd.net
Mon Jun 30 13:38:38 PDT 2003
On Mon, 30 Jun 2003 13:23:52 -0700
"David O'Brien" <obrien at 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 at identd.net | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9
mtm at FreeBSD.Org| FreeBSD - The Power To Serve
More information about the cvs-src
mailing list