| 1 |
|
| 2 |
I won't submit this upstream. Can't a simple -DCRONTABS=\"…\" be used? |
| 3 |
|
| 4 |
diff -Nur busybox-1.4.1.orig/miscutils/crond.c busybox-1.4.1/miscutils/crond.c |
| 5 |
--- busybox-1.4.1.orig/miscutils/crond.c 2007-01-24 22:34:48.000000000 +0100 |
| 6 |
+++ busybox-1.4.1/miscutils/crond.c 2007-02-05 10:49:44.000000000 +0100 |
| 7 |
@@ -18,7 +18,7 @@ |
| 8 |
#define arysize(ary) (sizeof(ary)/sizeof((ary)[0])) |
| 9 |
|
| 10 |
#ifndef CRONTABS |
| 11 |
-#define CRONTABS "/var/spool/cron/crontabs" |
| 12 |
+#define CRONTABS "/etc/crontabs" |
| 13 |
#endif |
| 14 |
#ifndef TMPDIR |
| 15 |
#define TMPDIR "/var/spool/cron" |
| 16 |
diff -Nur busybox-1.4.1.orig/miscutils/crontab.c busybox-1.4.1/miscutils/crontab.c |
| 17 |
--- busybox-1.4.1.orig/miscutils/crontab.c 2007-01-24 22:34:48.000000000 +0100 |
| 18 |
+++ busybox-1.4.1/miscutils/crontab.c 2007-02-05 10:49:44.000000000 +0100 |
| 19 |
@@ -13,7 +13,7 @@ |
| 20 |
#include "busybox.h" |
| 21 |
|
| 22 |
#ifndef CRONTABS |
| 23 |
-#define CRONTABS "/var/spool/cron/crontabs" |
| 24 |
+#define CRONTABS "/etc/crontabs" |
| 25 |
#endif |
| 26 |
#ifndef TMPDIR |
| 27 |
#define TMPDIR "/var/spool/cron" |