Subject: Re: misc/14825: /etc/{daily,weekly,montly} should be unified
To: None <kivinen@ssh.fi>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 12/03/2001 12:08:05
[ On Monday, December 3, 2001 at 16:53:24 (+0200), kivinen@ssh.fi wrote: ]
> Subject: misc/14825: /etc/{daily,weekly,montly} should be unified
>
> 	The /etc/{daily,weekly,montly} scripts should be unified so
> 	that setting for example rebuild_locatedb=YES in daily.conf
> 	causes the locatedb to be updated daily. I.e all them should
> 	run the exactly same script, but the configuration parameters
> 	simply would be different.

I do see some merit in that flexibility, but in general I like the
FreeBSD "periodic(8)" stuff much better.


In order to implement the kind of flexibility you describe in FreeBSD it
would simply be a matter of unifying the periodic/* programs into one
master holding directory and "installing" them into the "daily",
"weekly", and "monthly" (and whatever periods are defined) with hard
links (just like is done with /etc/init.d in some other kinds of
systems).

The FreeBSD periodic(8) scheme could be modified to use rcorder too,
instead of the filename based ordering they now use....

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>     <woods@robohack.ca>
Planix, Inc. <woods@planix.com>;   Secrets of the Weird <woods@weird.com>