aboutsummaryrefslogtreecommitdiff
path: root/miscutils/crontab.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-02-03 23:59:41 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-02-03 23:59:41 +0000
commitded5dfef6ef7df76fc54335b29ae4c214026dc1f (patch)
tree50e1f903ee48bebc050f70dec8e230d6d448ec0b /miscutils/crontab.c
parentd814c986929b0f8deba5a733250c3f59d7678277 (diff)
downloadbusybox-ded5dfef6ef7df76fc54335b29ae4c214026dc1f.tar.gz
crond,crontab: make cron directory location configurable
Diffstat (limited to 'miscutils/crontab.c')
-rw-r--r--miscutils/crontab.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/miscutils/crontab.c b/miscutils/crontab.c
index 13dfd77ad..34b80ea37 100644
--- a/miscutils/crontab.c
+++ b/miscutils/crontab.c
@@ -12,9 +12,7 @@
#include "libbb.h"
-#ifndef CRONTABS
-#define CRONTABS "/var/spool/cron/crontabs"
-#endif
+#define CRONTABS CONFIG_FEATURE_CROND_DIR "/crontabs"
#ifndef CRONUPDATE
#define CRONUPDATE "cron.update"
#endif