tech-userlevel archive

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

Re: dhcpd.leases and rough edges in a fresh install



On Thu, 2 Apr 2009 18:57:03 +0200 (CEST)
Hubert Feyrer <hubert%feyrer.de@localhost> wrote:

> On Fri, 3 Apr 2009, Tyler Retzlaff wrote:
> > comments?
> 
> Add something like
> 
> dhcpcd_precmd*(
> {
>       if [ ! -f /var/run/dhcpd.leases ]; then
>               install -c -m 644 /dev/null /var/db/dhcpd.leases
>       fi
> }
> 
> (untested, but considered worthwhile!)
> 
My question is this: clearly, dhcpd could have been done the equivalent
itself, with little effort.  It doesn't -- why not?  Is there something
we lose by doing it ourselves?


                --Steve Bellovin, http://www.cs.columbia.edu/~smb


Home | Main Index | Thread Index | Old Index