busybox: use a config option instead of a patch to select the cron directory
authorFelix Fietkau <nbd@openwrt.org>
Sun, 25 May 2014 17:41:48 +0000 (17:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 25 May 2014 17:41:48 +0000 (17:41 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40847

package/utils/busybox/Config-defaults.in
package/utils/busybox/patches/200-etc_crontabs.patch [deleted file]

index c12cf2a..aad6086 100644 (file)
@@ -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 (file)
index ebf2990..0000000
+++ /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