crond: make it NOMMU-capable

function                                             old     new   delta
safe_setenv4                                           -      62     +62
ForkJob                                              472     511     +39
change_identity                                       21      57     +36
ParseField                                           564     571      +7
SynchronizeDir                                       178     176      -2
LogLevel                                               4       -      -4
LogFile                                                4       -      -4
FileBase                                               4       -      -4
DebugOpt                                               4       -      -4
CDir                                                   4       -      -4
DeleteFile                                           141     132      -9
packed_usage                                       24248   24228     -20
crondlog                                             157     113     -44
change_identity_e2str                                 54       -     -54
SynchronizeFile                                      729     671     -58
crond_main                                          1555    1404    -151
------------------------------------------------------------------------------
(add/remove: 1/6 grow/shrink: 3/6 up/down: 144/-358)         Total: -214 bytes
This commit is contained in:
Denis Vlasenko
2008-03-12 22:10:25 +00:00
parent 35e9c5d83a
commit 4e6c8120a5
6 changed files with 403 additions and 429 deletions

View File

@@ -106,15 +106,13 @@ config CROND
$ cat /var/spool/cron/crontabs/root
# Run daily cron jobs at 4:40 every day:
40 4 * * * /etc/cron/daily > /dev/null 2>&1
Note that Busybox binary must be setuid root for this applet to
work properly.
config DEBUG_CROND_OPTION
bool "Support debug option -d"
bool "Support option -d to redirect output to stderr"
depends on CROND
default n
help
Support option -d to enter debug mode.
-d sets loglevel to 0 (most verbose) and directs all output to stderr.
config FEATURE_CROND_CALL_SENDMAIL
bool "Using /usr/sbin/sendmail?"
@@ -130,6 +128,8 @@ config CRONTAB
help
Crontab manipulates the crontab for a particular user. Only
the superuser may specify a different user and/or crontab directory.
Note that Busybox binary must be setuid root for this applet to
work properly.
config DC
bool "dc"