aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/200-etc_crontabs.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-09-28 12:38:46 +0000
committerNicolas Thill <nico@openwrt.org>2009-09-28 12:38:46 +0000
commit49254e2b2c2f65a21be6c38c3afc0b9d4832f3fb (patch)
tree0c8df24973e5339e60c5aae5a5d461d18d373cac /package/busybox/patches/200-etc_crontabs.patch
parentb36c9d3cec0da6a0e1e3ba5f1fbbdac9de750312 (diff)
downloadupstream-49254e2b2c2f65a21be6c38c3afc0b9d4832f3fb.tar.gz
upstream-49254e2b2c2f65a21be6c38c3afc0b9d4832f3fb.tar.bz2
upstream-49254e2b2c2f65a21be6c38c3afc0b9d4832f3fb.zip
[package] busybox: update to v1.14.4 (closes: #5619)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17782 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/patches/200-etc_crontabs.patch')
-rw-r--r--package/busybox/patches/200-etc_crontabs.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/package/busybox/patches/200-etc_crontabs.patch b/package/busybox/patches/200-etc_crontabs.patch
index bc3010ee2a..936ef7ef81 100644
--- a/package/busybox/patches/200-etc_crontabs.patch
+++ b/package/busybox/patches/200-etc_crontabs.patch
@@ -3,20 +3,20 @@
@@ -24,7 +24,7 @@
- #ifndef CRONTABS
--#define CRONTABS "/var/spool/cron/crontabs"
+ #define TMPDIR CONFIG_FEATURE_CROND_DIR
+-#define CRONTABS CONFIG_FEATURE_CROND_DIR "/crontabs"
+#define CRONTABS "/etc/crontabs"
+ #ifndef SENDMAIL
+ #define SENDMAIL "sendmail"
#endif
- #ifndef TMPDIR
- #define TMPDIR "/var/spool/cron"
--- a/miscutils/crontab.c
+++ b/miscutils/crontab.c
-@@ -13,7 +13,7 @@
+@@ -12,7 +12,7 @@
+
#include "libbb.h"
- #ifndef CRONTABS
--#define CRONTABS "/var/spool/cron/crontabs"
+-#define CRONTABS CONFIG_FEATURE_CROND_DIR "/crontabs"
+#define CRONTABS "/etc/crontabs"
- #endif
#ifndef CRONUPDATE
#define CRONUPDATE "cron.update"
+ #endif