svn commit: trunk/busybox/networking
vda at busybox.net
vda at busybox.net
Thu Feb 28 18:02:24 UTC 2008
Author: vda
Date: 2008-02-28 10:02:23 -0800 (Thu, 28 Feb 2008)
New Revision: 21140
Log:
zcip: chdiring to root when daemonizing is not useful,
only makes strip writer's life more miserable. Who want
to have zcip run in root dir, can trivially do that.
Modified:
trunk/busybox/networking/zcip.c
Changeset:
Modified: trunk/busybox/networking/zcip.c
===================================================================
--- trunk/busybox/networking/zcip.c 2008-02-28 17:59:01 UTC (rev 21139)
+++ trunk/busybox/networking/zcip.c 2008-02-28 18:02:23 UTC (rev 21140)
@@ -215,7 +215,7 @@
#if !BB_MMU
// on NOMMU reexec early (or else we will rerun things twice)
if (!FOREGROUND)
- bb_daemonize_or_rexec(DAEMON_CHDIR_ROOT, argv);
+ bb_daemonize_or_rexec(0 /*was: DAEMON_CHDIR_ROOT*/, argv);
#endif
// open an ARP socket
// (need to do it before openlog to prevent openlog from taking
@@ -281,7 +281,7 @@
// daemonize now; don't delay system startup
if (!FOREGROUND) {
#if BB_MMU
- bb_daemonize(DAEMON_CHDIR_ROOT);
+ bb_daemonize(0 /*was: DAEMON_CHDIR_ROOT*/);
#endif
bb_info_msg("start, interface %s", intf);
}
More information about the busybox-cvs
mailing list