1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 11:46:28 +02:00
openwrt-xburst/package/busybox/patches/200-etc_crontabs.patch

23 lines
518 B
Diff
Raw Normal View History

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