move everything to new NOMMU helpers, except udhcp

This commit is contained in:
Denis Vlasenko
2007-03-26 13:20:54 +00:00
parent bb7fcb4229
commit 5a142025d3
11 changed files with 40 additions and 102 deletions

View File

@@ -271,9 +271,8 @@ int zcip_main(int argc, char *argv[])
// daemonize now; don't delay system startup
if (!FOREGROUND) {
/* bb_daemonize(); - bad, will close fd! */
//NOMMU
xdaemon(0, 0);
bb_daemonize(DAEMON_CHDIR_ROOT);
bb_info_msg("start, interface %s", intf);
}