diff options
author | dougb <dougb@FreeBSD.org> | 2001-01-21 20:57:38 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2001-01-21 20:57:38 +0000 |
commit | e3a3551537ca32bc0adadc0633a5b0320168e716 (patch) | |
tree | 5066b091b85927859ae39dfb8f8c03a72e4ab82f /etc | |
parent | 937122ae6dc02a639d13dd06132201548bd7364f (diff) | |
download | FreeBSD-src-e3a3551537ca32bc0adadc0633a5b0320168e716.zip FreeBSD-src-e3a3551537ca32bc0adadc0633a5b0320168e716.tar.gz |
Add the options of which cron program to run, and specifying flags
to it.
PR: conf/24358
Submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/defaults/rc.conf | 2 | ||||
-rw-r--r-- | etc/rc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index b75774b..d78452b 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -295,6 +295,8 @@ allscreens_flags="" # Set this vidcontrol mode for all virtual screens ############################################################## cron_enable="YES" # Run the periodic job daemon. +cron_program="/usr/sbin/cron" # Which cron executable to run (if enabled). +cron_flags="" # Which options to pass to the cron daemon. lpd_enable="NO" # Run the line printer daemon. lpd_program="/usr/sbin/lpd" # path to lpd, if you want a different one. lpd_flags="" # Flags to lpd (if enabled). @@ -526,7 +526,7 @@ case ${cron_enable} in [Nn][Oo]) ;; *) - echo -n ' cron'; cron + echo -n ' cron'; ${cron_program:-/usr/sbin/cron} ${cron_flags} ;; esac |