Quote:
Originally Posted by BlackWolf
well, I looked it up once and the startup scripts are in some way related to /System/Library/LaunchDaemon/ ... the .plist files in there represent an application to be executed at startup. I tried adding an application by myself once but although I thought I did everything right it never worked. But you have to look there ...
|
There is a solution to this - take a look at
this article.
So basically, you write the script, create a launchd plist config file, add the file to /Library/LaunchDaemons and then load the file using
Code:
launchctl load /Library/LaunchDaemons/tld.domain.subdomain.plist
I have an example of a
DynDNS updater script on
my website that uses this method.
-Egeste