1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 14:50:38 +02:00
openwrt-xburst/package/busybox/patches/200-etc_crontabs.patch
nbd b5cb1795de refresh all package patches in the buildroot using quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-04 11:25:53 +00:00

27 lines
992 B
Diff

Index: busybox-1.4.2/miscutils/crond.c
===================================================================
--- busybox-1.4.2.orig/miscutils/crond.c 2007-06-04 13:21:32.339060384 +0200
+++ busybox-1.4.2/miscutils/crond.c 2007-06-04 13:21:33.235924040 +0200
@@ -18,7 +18,7 @@
#define arysize(ary) (sizeof(ary)/sizeof((ary)[0]))
#ifndef CRONTABS
-#define CRONTABS "/var/spool/cron/crontabs"
+#define CRONTABS "/etc/crontabs"
#endif
#ifndef TMPDIR
#define TMPDIR "/var/spool/cron"
Index: busybox-1.4.2/miscutils/crontab.c
===================================================================
--- busybox-1.4.2.orig/miscutils/crontab.c 2007-06-04 13:21:32.346059320 +0200
+++ busybox-1.4.2/miscutils/crontab.c 2007-06-04 13:21:33.236923888 +0200
@@ -13,7 +13,7 @@
#include "busybox.h"
#ifndef CRONTABS
-#define CRONTABS "/var/spool/cron/crontabs"
+#define CRONTABS "/etc/crontabs"
#endif
#ifndef TMPDIR
#define TMPDIR "/var/spool/cron"