English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/common-nfo/package/busybox/patches/200-etc_crontabs.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3427 - (show annotations) (download)
Wed Aug 8 11:08:41 2007 UTC (6 years, 6 months ago) by tg
File size: 1014 byte(s)
merge in trunk rev. 3426
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"

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20