Revision
23515
Author
zarzycki@apple.com
Date
2008-02-15 14:14:48 -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: branches/SULeopard/launchd/src/launchctl.c (23514 => 23515)


--- branches/SULeopard/launchd/src/launchctl.c	2008-02-08 18:22:08 UTC (rev 23514)
+++ branches/SULeopard/launchd/src/launchctl.c	2008-02-15 22:14:48 UTC (rev 23515)
@@ -1466,7 +1466,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";