diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-25 17:41:48 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-25 17:41:48 +0000 |
commit | fd7222d17be21e585c754a6c32e43c3c1bec6554 (patch) | |
tree | 9c37dcb02b7efbec3addc2edd760d5dd94d96299 /package/utils | |
parent | 4abf4e223eec684b19c813eb4a6b0f57612d0dd4 (diff) | |
download | master-187ad058-fd7222d17be21e585c754a6c32e43c3c1bec6554.tar.gz master-187ad058-fd7222d17be21e585c754a6c32e43c3c1bec6554.tar.bz2 master-187ad058-fd7222d17be21e585c754a6c32e43c3c1bec6554.zip |
busybox: use a config option instead of a patch to select the cron directory
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40847 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/utils')
-rw-r--r-- | package/utils/busybox/Config-defaults.in | 2 | ||||
-rw-r--r-- | package/utils/busybox/patches/200-etc_crontabs.patch | 22 |
2 files changed, 1 insertions, 23 deletions
diff --git a/package/utils/busybox/Config-defaults.in b/package/utils/busybox/Config-defaults.in index c12cf2ad16..aad6086d4b 100644 --- a/package/utils/busybox/Config-defaults.in +++ b/package/utils/busybox/Config-defaults.in @@ -1656,7 +1656,7 @@ config BUSYBOX_DEFAULT_FEATURE_CROND_CALL_SENDMAIL default n config BUSYBOX_DEFAULT_FEATURE_CROND_DIR string - default "/var/spool/cron" + default "/etc" config BUSYBOX_DEFAULT_CRONTAB bool default y diff --git a/package/utils/busybox/patches/200-etc_crontabs.patch b/package/utils/busybox/patches/200-etc_crontabs.patch deleted file mode 100644 index ebf2990502..0000000000 --- a/package/utils/busybox/patches/200-etc_crontabs.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/miscutils/crond.c -+++ b/miscutils/crond.c -@@ -37,7 +37,7 @@ - - - #define TMPDIR CONFIG_FEATURE_CROND_DIR --#define CRONTABS CONFIG_FEATURE_CROND_DIR "/crontabs" -+#define CRONTABS "/etc/crontabs" - #ifndef SENDMAIL - # define SENDMAIL "sendmail" - #endif ---- a/miscutils/crontab.c -+++ b/miscutils/crontab.c -@@ -22,7 +22,7 @@ - - #include "libbb.h" - --#define CRONTABS CONFIG_FEATURE_CROND_DIR "/crontabs" -+#define CRONTABS "/etc/crontabs" - #ifndef CRONUPDATE - #define CRONUPDATE "cron.update" - #endif |