[launchd-changes] [23818] branches/PR-6271234/launchd/src

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 17 13:48:01 PST 2009


Revision: 23818
          http://trac.macosforge.org/projects/launchd/changeset/23818
Author:   dsorresso at apple.com
Date:     2009-02-17 13:48:01 -0800 (Tue, 17 Feb 2009)
Log Message:
-----------
Corrected typo in script name.
Changed launchd's invocation of script such that it goes through /bin/bash now.

Modified Paths:
--------------
    branches/PR-6271234/launchd/src/launchctl.c
    branches/PR-6271234/launchd/src/launchd_core_logic.c

Modified: branches/PR-6271234/launchd/src/launchctl.c
===================================================================
--- branches/PR-6271234/launchd/src/launchctl.c	2009-02-17 21:45:48 UTC (rev 23817)
+++ branches/PR-6271234/launchd/src/launchctl.c	2009-02-17 21:48:01 UTC (rev 23818)
@@ -1843,7 +1843,7 @@
 
 	if( path_check("/etc/rc.deferredinstall") ) {
 		int status = 0;
-		const char *deferredinstall_tool[] = { _PATH_BSHELL, "/etc/rc.deferredinstall", NULL };
+		const char *deferredinstall_tool[] = { _PATH_BSHELL, "/etc/rc.deferred_install", NULL };
 		if( assumes(fwexec(deferredinstall_tool, &status) != -1) ) {
 			if( WEXITSTATUS(status) == EXIT_SUCCESS ) {
 				if( do_apple_internal_magic ) {

Modified: branches/PR-6271234/launchd/src/launchd_core_logic.c
===================================================================
--- branches/PR-6271234/launchd/src/launchd_core_logic.c	2009-02-17 21:45:48 UTC (rev 23817)
+++ branches/PR-6271234/launchd/src/launchd_core_logic.c	2009-02-17 21:48:01 UTC (rev 23818)
@@ -8619,7 +8619,7 @@
 	}
 	
 	struct stat sb;
-	const char *argv[] = { "/etc/rc.deferredinstall", NULL };
+	const char *argv[] = { _PATH_BSHELL, "/etc/rc.deferred_install", NULL };
 	char *try_again = "Will try again at next boot.";
 	int result = ~0;
 	
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-changes/attachments/20090217/34c75542/attachment.html>


More information about the launchd-changes mailing list