1
vote
0answers
418 views

OS X 10.6.x: How to use launchd to start a script at specific system events (startup, login, logout, shutdown)?

We've tried to create scripts that run at startup, login, logout and shutdown. We had them up and running with 10.4 but can't get it running with 10.6 What is the right way to use launchd/launchctl to ...
2
votes
0answers
200 views

Disallow shutdown/sleep/restart on OSX?

Is it possible to disable shutdown, sleep and restart for non-admin user on Mac OS X? (I am running Snow Leopard.)
4
votes
4answers
6k views

How to run a script at shutdown with Snow Leopard?

I want to run a script when I shutdown or restart my iMac, running Snow Leopard. I read somewhere that one could use the /etc/rc.shutdown.local for this, but it is not working for me. For example, I ...
2
votes
4answers
585 views

How to change this OSX script

I made a script to automatically shut down my computer. The problem is that it always asks the password. How should this be changed? do shell script "shutdown -h now" with administrator privileges ...
2
votes
3answers
487 views

How to easily shutdown OSX

There are certain programs that I always run that interrupt the shutdown process. When I try to shut down my laptop a message pops up saying that a program interrupted the shutdown process, but when I ...
2
votes
3answers
3k views

Shutdown and apply updates with OS X

Is it possible to shutdown + update the Mac ? It's annoying to wait for it to restart when I just want to click update and go home. I've seen this once on a MacBook and I can't find how to do it.