Change local_cron to local_periodic.

Submitted by:	bde
This commit is contained in:
Paul Traina 1997-08-19 16:49:35 +00:00
parent faba086be3
commit 02eab22ca1
3 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@
#
# All arguments must be in double or single quotes.
#
# $Id: rc.conf,v 1.23 1997/08/16 17:07:13 pst Exp $
# $Id: rc.conf,v 1.24 1997/08/17 10:04:52 jkh Exp $
##############################################################
### Important initial Boot-time options #####################
@ -18,7 +18,7 @@ pccard_enable="NO" # Set to YES if you want to configure PCCARD devices.
pccard_mem="DEFAULT" # If pccard_enable=YES, this is card memory address.
pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO).
local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs.
local_cron="/usr/local/etc/periodic /usr/X11R6/etc/periodic" # periodic script dirs
local_periodic="/usr/local/etc/periodic /usr/X11R6/etc/periodic" # periodic script dirs
##############################################################

View File

@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $Id: periodic.8,v 1.3 1997/08/13 16:27:59 ache Exp $
.\" $Id: periodic.8,v 1.4 1997/08/16 17:08:35 pst Exp $
.\"
.Dd 13 August 1997
.Os FreeBSD 3.0
@ -90,7 +90,7 @@ subdirectories which contain standard system periodic executables.
The
.Pa rc.conf
system registry contains a variable
.Va local_cron
.Va local_periodic
which may be configured to specify additional top level standard
periodic directories, such as
.Pa /usr/local/etc/periodic

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: periodic.sh,v 1.3 1997/08/13 06:23:54 pst Exp $
# $Id: periodic.sh,v 1.4 1997/08/16 17:08:35 pst Exp $
#
# Run nightly periodic scripts
#
@ -30,7 +30,7 @@ run=`basename $dir`
if [ "$dir" = "$run" ] ; then
dirlist=""
for top in /etc/periodic ${local_cron} ; do
for top in /etc/periodic ${local_periodic} ; do
if [ -d $top/$dir ] ; then
dirlist="${dirlist} $top/$dir"
fi