let ipkg fail when a package file to be installed is not found
[openwrt/staging/dedeckeh.git] / openwrt / package / busybox / patches / 200-etc_crontabs.patch
1 diff -urN busybox.old/miscutils/crond.c busybox.dev/miscutils/crond.c
2 --- busybox.old/miscutils/crond.c 2004-04-14 19:51:21.000000000 +0200
3 +++ busybox.dev/miscutils/crond.c 2005-12-11 22:54:07.878256250 +0100
4 @@ -36,7 +36,7 @@
5 #define arysize(ary) (sizeof(ary)/sizeof((ary)[0]))
6
7 #ifndef CRONTABS
8 -#define CRONTABS "/var/spool/cron/crontabs"
9 +#define CRONTABS "/etc/crontabs"
10 #endif
11 #ifndef TMPDIR
12 #define TMPDIR "/var/spool/cron"
13 diff -urN busybox.old/miscutils/crontab.c busybox.dev/miscutils/crontab.c
14 --- busybox.old/miscutils/crontab.c 2004-04-14 19:51:21.000000000 +0200
15 +++ busybox.dev/miscutils/crontab.c 2005-12-11 22:54:28.647554250 +0100
16 @@ -28,7 +28,7 @@
17 #include <sys/resource.h>
18
19 #ifndef CRONTABS
20 -#define CRONTABS "/var/spool/cron/crontabs"
21 +#define CRONTABS "/etc/crontabs"
22 #endif
23 #ifndef TMPDIR
24 #define TMPDIR "/var/spool/cron"