unixish question

in Genius Bar edited January 2014
Ok, I have a freebsd server and on this server is a file named /etc/rc.local in which I do the following:

[code] su timewarp -c /usr/home/timewarp/bin/rc.timewarp &</pre><hr></blockquote>

There doesnt seem to be an rc.local in OS X so my question is which rc file should I put something similar in?


  • Reply 1 of 1
    thuh freakthuh freak Posts: 2,664member
    you could create a folder within /System/Library/StartupItems/, and within that folder name a file the exact same as u did the folder (ex: if the folder is "myscript", call the file "myscript"). you also need to make a file called "StartupParameters.plist". the format for that should be fairly obvious after perusing a few other *plists within other StartupItems' folders. I've made a few startup items in this manner.
Sign In or Register to comment.