diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-02-19 22:11:43 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-02-19 22:11:43 +0000 |
commit | 874d23b620bdef4a0c20b79377661a2d6b719666 (patch) | |
tree | 38e9c8067c1dec39d188fc7a0c50887d8515d069 /usr.sbin/cron/pathnames.h | |
parent | 14692fca9ef8787afba154588a8400971d65a8b5 (diff) |
Move contents of /var/at into /var/cron since at is now intergrated into
cron. When ISC cron 5.0 is out the integration will be even tighter.
Also rename /var/cron/{allow,deny} -> /var/cron/cron.{allow,deny}
for consistency with POSIX and at.{allow,deny} and install an empty
cron.deny file (as we do at.deny) since crontab will require this
in the near future for POSIX compliance.
After a "make build" you can update your system as follows:
# mv /var/at/* /var/cron
# mv /var/cron/jobs /var/cron/atjobs
# mv /var/cron.allow /var/cron/cron.allow
# mv /var/cron.deny /var/cron/cron.deny
# rm -rf /var/at
# kill `cat /var/run/cron.pid` ; cron
Diffstat (limited to 'usr.sbin/cron/pathnames.h')
-rw-r--r-- | usr.sbin/cron/pathnames.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/cron/pathnames.h b/usr.sbin/cron/pathnames.h index 52a4f6255cd..2164d99fd53 100644 --- a/usr.sbin/cron/pathnames.h +++ b/usr.sbin/cron/pathnames.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pathnames.h,v 1.8 2002/07/15 19:13:29 millert Exp $ */ +/* $OpenBSD: pathnames.h,v 1.9 2003/02/19 22:11:42 millert Exp $ */ /* Copyright 1993,1994 by Paul Vixie * All rights reserved @@ -60,8 +60,8 @@ * LOG_CRON is defined by <syslog.h>, LOG_FILE will not * be used. */ -#define ALLOW_FILE "allow" -#define DENY_FILE "deny" +#define ALLOW_FILE "cron.allow" +#define DENY_FILE "cron.deny" #define LOG_FILE "log" /* where should the daemon stick its PID? @@ -108,8 +108,8 @@ #endif /*SENDMAIL*/ /* XXX */ -#define _PATH_ATJOBS "/var/at/jobs" -#define _PATH_AT_ALLOW "/var/at/at.allow" -#define _PATH_AT_DENY "/var/at/at.deny" +#define _PATH_ATJOBS "/var/cron/atjobs" +#define _PATH_AT_ALLOW "/var/cron/at.allow" +#define _PATH_AT_DENY "/var/cron/at.deny" #endif /* _PATHNAMES_H_ */ |