Revision
23517
Author
zarzycki@apple.com
Date
2008-02-15 14:18:10 -0800 (Fri, 15 Feb 2008)

Log Message

<rdar://problem/5733927> We need mobile user applications to be registered at boot time

Modified Paths

Diff

Modified: trunk/launchd/src/launchctl.c (23516 => 23517)


--- trunk/launchd/src/launchctl.c	2008-02-15 22:14:57 UTC (rev 23516)
+++ trunk/launchd/src/launchctl.c	2008-02-15 22:18:10 UTC (rev 23517)
@@ -1469,7 +1469,11 @@
 
 	_vproc_set_global_on_demand(true);
 
-	char *load_launchd_items[] = { "load", "-D", "all", "/etc/mach_init.d", NULL };
+	char *load_launchd_items[] = { "load", "-D", "all", "/etc/mach_init.d",
+#if TARGET_OS_EMBEDDED
+		"/var/mobile/Library/LaunchAgents",
+#endif
+		NULL };
 
 	if (is_safeboot()) {
 		load_launchd_items[2] = "system";