e9609bd5fa45429ebeb266ce3d41f7e2248108b5
[openwrt-10.03/.git] / package / busybox / patches / 200-etc_crontabs.patch
1 Index: busybox-1.7.2/miscutils/crond.c
2 ===================================================================
3 --- busybox-1.7.2.orig/miscutils/crond.c        2007-10-30 15:35:00.000000000 -0500
4 +++ busybox-1.7.2/miscutils/crond.c     2007-10-30 15:35:00.000000000 -0500
5 @@ -15,7 +15,7 @@
6  #include "libbb.h"
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.7.2/miscutils/crontab.c
15 ===================================================================
16 --- busybox-1.7.2.orig/miscutils/crontab.c      2007-10-30 15:35:00.000000000 -0500
17 +++ busybox-1.7.2/miscutils/crontab.c   2007-10-30 15:35:00.000000000 -0500
18 @@ -13,7 +13,7 @@
19  #include "libbb.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"