massively reduce the number of forks that busybox ash has to do while processing...
[openwrt.git] / package / busybox / patches / 200-etc_crontabs.patch
1 Index: busybox-1.4.2/miscutils/crond.c
2 ===================================================================
3 --- busybox-1.4.2.orig/miscutils/crond.c        2007-06-04 13:21:32.339060384 +0200
4 +++ busybox-1.4.2/miscutils/crond.c     2007-06-04 13:21:33.235924040 +0200
5 @@ -18,7 +18,7 @@
6  #define arysize(ary)    (sizeof(ary)/sizeof((ary)[0]))
7  
8  #ifndef CRONTABS
9 -#define CRONTABS        "/var/spool/cron/crontabs"
10 +#define CRONTABS        "/etc/crontabs"
11  #endif
12  #ifndef TMPDIR
13  #define TMPDIR          "/var/spool/cron"
14 Index: busybox-1.4.2/miscutils/crontab.c
15 ===================================================================
16 --- busybox-1.4.2.orig/miscutils/crontab.c      2007-06-04 13:21:32.346059320 +0200
17 +++ busybox-1.4.2/miscutils/crontab.c   2007-06-04 13:21:33.236923888 +0200
18 @@ -13,7 +13,7 @@
19  #include "busybox.h"
20  
21  #ifndef CRONTABS
22 -#define CRONTABS        "/var/spool/cron/crontabs"
23 +#define CRONTABS        "/etc/crontabs"
24  #endif
25  #ifndef TMPDIR
26  #define TMPDIR          "/var/spool/cron"