aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/cron
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-06-10 02:30:09 +0000
committerWarner Losh <imp@FreeBSD.org>2018-06-10 02:30:09 +0000
commita96081bb87d0d1857388aaad7294268cc64a9a94 (patch)
treeccd52bd86ce7cdd7abfe2d88940dbbef1f477d14 /usr.sbin/cron
parent1e9d36676fddad5cb81bd39415a7b9b4e16952b3 (diff)
Notes
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r--usr.sbin/cron/cron/pathnames.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/usr.sbin/cron/cron/pathnames.h b/usr.sbin/cron/cron/pathnames.h
index fe3ebf55da45..e25519fa89eb 100644
--- a/usr.sbin/cron/cron/pathnames.h
+++ b/usr.sbin/cron/cron/pathnames.h
@@ -53,11 +53,7 @@
/* where should the daemon stick its PID?
*/
-#ifdef _PATH_VARRUN
-# define PIDDIR _PATH_VARRUN
-#else
-# define PIDDIR "/etc/"
-#endif
+#define PIDDIR _PATH_VARRUN
#define PIDFILE "%scron.pid"
/* 4.3BSD-style crontab */
@@ -68,16 +64,4 @@
/* what editor to use if no EDITOR or VISUAL
* environment variable specified.
*/
-#if defined(_PATH_VI)
-# define EDITOR _PATH_VI
-#else
-# define EDITOR "/usr/ucb/vi"
-#endif
-
-#ifndef _PATH_BSHELL
-# define _PATH_BSHELL "/bin/sh"
-#endif
-
-#ifndef _PATH_DEFPATH
-# define _PATH_DEFPATH "/usr/bin:/bin"
-#endif
+#define EDITOR _PATH_VI