busybox: update to v1.14.4 (closes: #5619)
[openwrt/staging/yousong.git] / package / busybox / patches / 200-etc_crontabs.patch
index bc3010ee2a9c74c313de35d4a215324718467653..936ef7ef81630ff10d1f99b7f85d308bdb6658b7 100644 (file)
@@ -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