openwrtv4/package/busybox/patches/200-etc_crontabs.patch
Nicolas Thill 91750d01a7 busybox: update to v1.14.4 (closes: #5619)
SVN-Revision: 17782
2009-09-28 12:38:46 +00:00

22 lines
549 B
Diff

--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -24,7 +24,7 @@
#define TMPDIR CONFIG_FEATURE_CROND_DIR
-#define CRONTABS CONFIG_FEATURE_CROND_DIR "/crontabs"
+#define CRONTABS "/etc/crontabs"
#ifndef SENDMAIL
#define SENDMAIL "sendmail"
#endif
--- a/miscutils/crontab.c
+++ b/miscutils/crontab.c
@@ -12,7 +12,7 @@
#include "libbb.h"
-#define CRONTABS CONFIG_FEATURE_CROND_DIR "/crontabs"
+#define CRONTABS "/etc/crontabs"
#ifndef CRONUPDATE
#define CRONUPDATE "cron.update"
#endif