Go Back   The macosxhints Forums > OS X Help Requests > UNIX - Newcomers



Reply
 
Thread Tools Rate Thread Display Modes
Old 11-03-2009, 09:31 AM   #1
hayne
Moderator
 
Join Date: Jan 2002
Location: Montreal
Posts: 29,286
The following is a possibly incomplete/out-dated list of the mechanisms that can be used to run software at system startup:

1) The script /etc/rc and the sub-scripts it invokes (especially /etc/rc.local)

2) Launchd (files in /System/Library/LaunchDaemons and /Library/LaunchDaemons)

3) "@reboot" entries in /etc/crontab (and possibly also in per-user crontabs)

4) bundles in /System/Library/SystemConfiguration

5) scripts in /System/Library/StartupItems and /Library/StartupItems

6) kernel extensions in /System/Library/Extensions

7) entries in the file /Library/Preferences/com.apple.SystemLoginItems.plist (an undocumented mechanism)

8) plist files in /etc/mach_init.d or /etc/mach_init_per_user.d
(deprecated and possibly limited to certain "Apple-specific" items in 10.4, but will work generally in 10.3)

9) mount entries in /etc/fstab
(Can be used to mount filesystems which might trigger other software to run.)

See also Apple's developer docs on the system startup:
http://developer.apple.com/documenta...tup/index.html
----------------------

By the way, what version of OS X are you running? What model of Mac?
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:33 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Site design © Mac Publishing LLC; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of Mac Publishing LLC.