diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-02-18 19:48:37 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-02-18 19:48:37 +0000 |
commit | 9d12880bde356edc1caf95ce9c16eda5cd362a71 (patch) | |
tree | 76105126f0a9e8669fcf6a00b6332268446f91d1 /usr.sbin/cron/pathnames.h | |
parent | 401b427202f6878b62792414313a54831b405451 (diff) |
Update to ISC cron 4.0b1 + our patches. This is now under a BSD license.
I also fixed the signal handlers while I was at it.
Diffstat (limited to 'usr.sbin/cron/pathnames.h')
-rw-r--r-- | usr.sbin/cron/pathnames.h | 51 |
1 files changed, 27 insertions, 24 deletions
diff --git a/usr.sbin/cron/pathnames.h b/usr.sbin/cron/pathnames.h index bd46f47afb4..e01e0321843 100644 --- a/usr.sbin/cron/pathnames.h +++ b/usr.sbin/cron/pathnames.h @@ -1,28 +1,25 @@ +/* $OpenBSD: pathnames.h,v 1.3 2001/02/18 19:48:36 millert Exp $ */ + /* Copyright 1993,1994 by Paul Vixie * All rights reserved - * - * Distribute freely, except: don't remove my name from the source or - * documentation (don't take credit for my work), mark your changes (don't - * get me blamed for your possible bugs), don't alter or remove this - * notice. May be sold if buildable source is provided to buyer. No - * warrantee of any kind, express or implied, is included with this - * software; use at your own risk, responsibility for damages (if any) to - * anyone resulting from the use of this software rests entirely with the - * user. - * - * Send bug reports, bug fixes, enhancements, requests, flames, etc., and - * I'll try to keep a version up to date. I can be reached as follows: - * Paul Vixie <paul@vix.com> uunet!decwrl!vixie!paul */ - /* - * $Id: pathnames.h,v 1.2 1998/03/30 06:59:46 deraadt Exp $ + * Copyright (c) 1997,2000 by Internet Software Consortium, Inc. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. */ -#if (defined(BSD)) && (BSD >= 199103) || defined(__linux) || defined(AIX) -# include <paths.h> -#endif /*BSD*/ - #ifndef CRONDIR /* CRONDIR is where crond(8) and crontab(1) both chdir * to; SPOOL_DIR, ALLOW_FILE, DENY_FILE, and LOG_FILE @@ -45,11 +42,13 @@ * that ALLOW_FILE and DENY_FILE must both be defined * in order to enable the allow/deny code. If neither * LOG_FILE or SYSLOG is defined, we don't log. If - * both are defined, we log both ways. + * both are defined, we log both ways. Note that if + * LOG_CRON is defined by <syslog.h>, LOG_FILE will not + * be used. */ -#define ALLOW_FILE "allow" /*-*/ -#define DENY_FILE "deny" /*-*/ -/* #define LOG_FILE "log" -*/ +#define ALLOW_FILE "allow" +#define DENY_FILE "deny" +#define LOG_FILE "log" /* where should the daemon stick its PID? */ @@ -58,7 +57,7 @@ #else # define PIDDIR "/etc/" #endif -#define PIDFILE "%scron.pid" +#define PIDFILE "cron.pid" /* 4.3BSD-style crontab */ #define SYSCRONTAB "/etc/crontab" @@ -79,3 +78,7 @@ #ifndef _PATH_DEFPATH # define _PATH_DEFPATH "/usr/bin:/bin" #endif + +#ifndef _PATH_TMP +# define _PATH_TMP "/tmp" +#endif |