DragonFly BSD
DragonFly users List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: getroot script


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 24 Feb 2005 13:57:11 -0800 (PST)

:Janet Sullivan wrote:
:> I notice that the /etc/named/getroot script will fetch root.zone into 
:> whatever directory the script is run from.  Wouldn't it be better to 
:> have it fetch the file into /etc/named?
:> 
:> I caught this when I put a line in my crontab to run /etc/named/getroot 
:> weekly - I noticed the file in /etc/named wasn't getting updated.  Doh.
:> 
:
:(My fix was to just have getroot cd into /etc/namedb before running fetch.)

    Normally I would say, well, it's better for the program to be generic
    so you can use it generically, and put a CD in your cronjob line,
    but since someone has actually made this mistake I think it's better to
    make the script do the CD.

    I will apply your change.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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