console "/System/Library/CoreServices/loginwindow.app/loginwindow"
vt100 on secure window=/System/Library/CoreServices/WindowServer
onoption="/usr/libexec/getty std.9600"
console "/System/Library/CoreServices/loginwindow.app/loginwindow
-LogoutHook /usr/local/bin/userlogout" vt100 on secure
window=/System/Library/CoreServices/WindowServer
onoption="/usr/libexec/getty std.9600"
Originally posted by testuser
blb,
I'm not sure if this answers his question.
I believe namaste wants a script to run when one chooses "Log out" from the Finder, or when one chooses "Sleep" or "Shutdown". I believe that this is one of the things that still needs to be implemented in OS X.
If I'm not mistaken, I think editing ttys will only allow running a script when someone logs out of a Terminal or SSH session on your Mac.
Originally posted by testuser
...
Never Mind; I should really print out that System Overview and read it cover to cover some time!