openwrtv3/package/utils/busybox/patches/200-etc_crontabs.patch
John Crispin 4ebf19b48f packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37007
2013-06-21 16:54:37 +00:00

22 lines
549 B
Diff

--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -37,7 +37,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
@@ -22,7 +22,7 @@
#include "libbb.h"
-#define CRONTABS CONFIG_FEATURE_CROND_DIR "/crontabs"
+#define CRONTABS "/etc/crontabs"
#ifndef CRONUPDATE
#define CRONUPDATE "cron.update"
#endif