Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

gtr053

macrumors member
Original poster
Jan 2, 2010
56
0
Tuscaloosa, AL
I did a brief search on this but all I found was how to run shut down the computer via Terminal. What I want to do is run one command when the computer is shut down or when I log out of my account.

I use Automator to enable journaling on my HDD on login. However, I don't know how to disable journaling on log off/shut down. I want to do this so that I can write access when using Ubuntu, which I dual boot with.

I suppose I could make an application through Automator to click on that will both disable the journal and shut down the computer but I'd really like to not have to do that.
 
>>Running a Command on Shut Down

Last time i checked, creating a /etc/rc.shutdown.local file and putting (shell) commands in there worked really well. [google on "/etc/rc.shutdown.local" for more info.]
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.