diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-31 10:19:51 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-05-31 10:19:51 +0000 |
commit | 673686ee89d45c75d6aa0e9d7797ad979a28ed5b (patch) | |
tree | 4bcf7032041b501464f38ff9715f98453bebcbaf /miscutils | |
parent | d3ff731ada83714a84a18bdf36a0025f5ea94a84 (diff) | |
download | busybox-w32-673686ee89d45c75d6aa0e9d7797ad979a28ed5b.tar.gz busybox-w32-673686ee89d45c75d6aa0e9d7797ad979a28ed5b.tar.bz2 busybox-w32-673686ee89d45c75d6aa0e9d7797ad979a28ed5b.zip |
- s/defined(__uClinux__)/BB_NOMMU/
This needs a second pass to:
+ add bb_daemon(unsigned char no_chdir, unsigned char no_close, const char*flag)
+ eventually globally export argc and argv, so we don't need to pass it to
bb_daemon().
git-svn-id: svn://busybox.net/trunk/busybox@15244 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/crond.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c index 030e962f3..954d97965 100644 --- a/miscutils/crond.c +++ b/miscutils/crond.c | |||
@@ -205,12 +205,12 @@ int crond_main(int ac, char **av) | |||
205 | */ | 205 | */ |
206 | 206 | ||
207 | if (!(opt & 4)) { | 207 | if (!(opt & 4)) { |
208 | #if defined(__uClinux__) | 208 | #ifdef BB_NOMMU |
209 | /* reexec for vfork() do continue parent */ | 209 | /* reexec for vfork() do continue parent */ |
210 | vfork_daemon_rexec(1, 0, ac, av, "-f"); | 210 | vfork_daemon_rexec(1, 0, ac, av, "-f"); |
211 | #else /* uClinux */ | 211 | #else |
212 | bb_xdaemon(1, 0); | 212 | bb_xdaemon(1, 0); |
213 | #endif /* uClinux */ | 213 | #endif |
214 | } | 214 | } |
215 | 215 | ||
216 | (void) startlogger(); /* need if syslog mode selected */ | 216 | (void) startlogger(); /* need if syslog mode selected */ |