[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox-cvs
Subject:    svn commit: trunk/busybox/networking
From:       vda () busybox ! net (vda at busybox ! net)
Date:       2008-02-28 18:02:24
Message-ID: 20080228180224.3309512C3E0 () busybox ! net
[Download RAW message or body]

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);
 	}


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic