aboutsummaryrefslogtreecommitdiff
path: root/miscutils/crond.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2009-02-03 23:59:41 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2009-02-03 23:59:41 +0000
commitded5dfef6ef7df76fc54335b29ae4c214026dc1f (patch)
tree50e1f903ee48bebc050f70dec8e230d6d448ec0b /miscutils/crond.c
parentd814c986929b0f8deba5a733250c3f59d7678277 (diff)
downloadbusybox-ded5dfef6ef7df76fc54335b29ae4c214026dc1f.tar.gz
busybox-ded5dfef6ef7df76fc54335b29ae4c214026dc1f.tar.bz2
crond,crontab: make cron directory location configurable
Diffstat (limited to 'miscutils/crond.c')
-rw-r--r--miscutils/crond.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c
index 12560fa36..b2fedb152 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -23,12 +23,8 @@
#endif
-#ifndef CRONTABS
-#define CRONTABS "/var/spool/cron/crontabs"
-#endif
-#ifndef TMPDIR
-#define TMPDIR "/var/spool/cron"
-#endif
+#define TMPDIR CONFIG_FEATURE_CROND_DIR
+#define CRONTABS CONFIG_FEATURE_CROND_DIR "/crontabs"
#ifndef SENDMAIL
#define SENDMAIL "sendmail"
#endif