X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fbusybox%2Fpatches%2F200-etc_crontabs.patch;h=ebf2990502ebf850bc4ba7ceeae8cb693c5e88da;hb=44b1688e6c7b4f16f7165fbd560e1183aef69090;hp=49b7882acdd340c8d636f989ebb71a08533d51d3;hpb=91142205534e135a29ceb3992708bf2ca3219021;p=openwrt%2Fstaging%2Fyousong.git diff --git a/package/busybox/patches/200-etc_crontabs.patch b/package/busybox/patches/200-etc_crontabs.patch index 49b7882acd..ebf2990502 100644 --- a/package/busybox/patches/200-etc_crontabs.patch +++ b/package/busybox/patches/200-etc_crontabs.patch @@ -1,26 +1,22 @@ -Index: busybox-1.4.2/miscutils/crond.c -=================================================================== ---- busybox-1.4.2.orig/miscutils/crond.c 2007-06-04 13:21:32.339060384 +0200 -+++ busybox-1.4.2/miscutils/crond.c 2007-06-04 13:21:33.235924040 +0200 -@@ -18,7 +18,7 @@ - #define arysize(ary) (sizeof(ary)/sizeof((ary)[0])) +--- a/miscutils/crond.c ++++ b/miscutils/crond.c +@@ -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" -Index: busybox-1.4.2/miscutils/crontab.c -=================================================================== ---- busybox-1.4.2.orig/miscutils/crontab.c 2007-06-04 13:21:32.346059320 +0200 -+++ busybox-1.4.2/miscutils/crontab.c 2007-06-04 13:21:33.236923888 +0200 -@@ -13,7 +13,7 @@ - #include "busybox.h" +--- a/miscutils/crontab.c ++++ b/miscutils/crontab.c +@@ -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" + #ifndef CRONUPDATE + #define CRONUPDATE "cron.update" #endif - #ifndef TMPDIR - #define TMPDIR "/var/spool/cron"