Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Leopard and scripts on startup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Leopard and scripts on startup


I've searched the archives of this and several other lists but this doesn't seem to have come up.

We currently have a Tiger network install image which runs our custom installer script (written in bash) from /etc/rc.local, outputting to the console. The windowserver is never started. I'd like to emulate this behaviour using a Leopard install and am having problems.

on a standard Leopard installer CD, /etc/rc.install /System/Library/ LaunchDaemons/ is started by /System/Library/ LaunchDaemons/ and should run /etc/rc.local if it exists. On my image (which started as a clone of the installer CD) this is happening, but rc.install (and thus rc.local) are running in the background. Is there any way I can cause it to run in the foreground and send it's output to the screen? Setting StandardOutPath to /dev/console in /System/Library/LaunchDaemons/ doesn't seem to make any difference.

Any hints as to where to look for more information would be appreciated. I've scoured the Boot process documentation on Apple's site but the possibility of running without the window server doesn't really seem to be covered.

Many thanks,


Geoff Lee <email@hidden>
Computing Support
School of Arts, Culture and Environment
University of Edinburgh
20 Chambers St,
Edinburgh, Scotland,
Tel: +44 (0)131 650 2341

Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

Visit the Apple Store online or at retail locations.

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.