tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dhcpcd-4.0.0-alpha1 ready for review



On Thu, 17 Apr 2008, Steven M. Bellovin wrote:
On Thu, 17 Apr 2008 11:03:08 +0100
Roy Marples <roy%marples.name@localhost> wrote:

On Thursday 17 April 2008 04:58:49 Steven M. Bellovin wrote:
I haven't had a chance to look at this.  However -- one suggestion I
made about dhclient that might be worth doing here: have a
directory of scripts, with one script per function.  That makes it
easier to change one or two, rather than having to edit a large
file and track changes to it.

What sort of "function" did you have in mind?
script per $reason?
script for ntp, resolv, nis, hostname, etc?


Yes...

More seriously -- I look at it functionally: what is a user likely to
want to change?  You may do some stuff per $reason; you're more likely
to do stuff per area (ntp, resolv, etc.).

How about requesting and then dealing with custom options? How about a flag to specify a list of option numbers (e.g. 151) and this then use script 'option151'?

--
Stephen



Home | Main Index | Thread Index | Old Index