X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ac2d02c3e08c4c3d62859bffb4dd3bb891b3d5c6..443820e37b48228ba986329f86ead6ce902a611b:/package/busybox/patches/200-etc_crontabs.patch diff --git a/package/busybox/patches/200-etc_crontabs.patch b/package/busybox/patches/200-etc_crontabs.patch index bc3010ee2..ebf299050 100644 --- a/package/busybox/patches/200-etc_crontabs.patch +++ b/package/busybox/patches/200-etc_crontabs.patch @@ -1,22 +1,22 @@ --- a/miscutils/crond.c +++ b/miscutils/crond.c -@@ -24,7 +24,7 @@ +@@ -37,7 +37,7 @@ - #ifndef CRONTABS --#define CRONTABS "/var/spool/cron/crontabs" + #define TMPDIR CONFIG_FEATURE_CROND_DIR +-#define CRONTABS CONFIG_FEATURE_CROND_DIR "/crontabs" +#define CRONTABS "/etc/crontabs" + #ifndef SENDMAIL + # define SENDMAIL "sendmail" #endif - #ifndef TMPDIR - #define TMPDIR "/var/spool/cron" --- a/miscutils/crontab.c +++ b/miscutils/crontab.c -@@ -13,7 +13,7 @@ +@@ -22,7 +22,7 @@ + #include "libbb.h" - #ifndef CRONTABS --#define CRONTABS "/var/spool/cron/crontabs" +-#define CRONTABS CONFIG_FEATURE_CROND_DIR "/crontabs" +#define CRONTABS "/etc/crontabs" - #endif #ifndef CRONUPDATE #define CRONUPDATE "cron.update" + #endif