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.).