svn commit: trunk/busybox/miscutils
vapier at busybox.net
vapier at busybox.net
Wed Jun 7 21:48:43 UTC 2006
Author: vapier
Date: 2006-06-07 14:48:43 -0700 (Wed, 07 Jun 2006)
New Revision: 15334
Log:
initial support for no-mmu systems
Modified:
trunk/busybox/miscutils/watchdog.c
Changeset:
Modified: trunk/busybox/miscutils/watchdog.c
===================================================================
--- trunk/busybox/miscutils/watchdog.c 2006-06-07 21:48:30 UTC (rev 15333)
+++ trunk/busybox/miscutils/watchdog.c 2006-06-07 21:48:43 UTC (rev 15334)
@@ -37,7 +37,11 @@
if (optind < argc - 1 || argc == 1)
bb_show_usage();
+#ifdef BB_NOMMU
+ vfork_daemon(0, 1);
+#else
bb_xdaemon(0, 1);
+#endif
signal(SIGHUP, watchdog_shutdown);
signal(SIGINT, watchdog_shutdown);
More information about the busybox-cvs
mailing list