I have a startup script which connects to a server and sync's a folder (my login scripts). For testing I just have it opening up an ihook window for 10secs then finishing...
It works ok on startup without a problem. Brings up the ihook window, counts to 10 then finishes. I then login to the machine. If I then logout, everything is ok.. but... if I restart or shutdown the machine, the script runs again!!!!!!
I have check my running processes (ps -ax) to make sure it is not running and the shutdown/restart process is finishing it off but I cannot see it running.
I have a logout script running which is going fine.
My startup script is located in /Library/StartupItems/Script/Script and seems to run ok on startup.. can't for the life of me figure out why it would be running on shutdown/restart as well. Is this a "feature" of 10.4?? The same script ran on 10.3.x without any problems...