mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
12 lines
392 B
Markdown
12 lines
392 B
Markdown
LogoutHook
|
|
===========
|
|
|
|
## Installation
|
|
```sudo defaults write com.apple.loginwindow LogoutHook /path/to/LogoutHook.command```
|
|
|
|
or
|
|
|
|
```/path/to/LogoutHook.command install```
|
|
|
|
## Notes
|
|
`LogoutHook.command` highly depends on macOS `nvram` utility supporting `-x` option, which is unavailable on 10.12 and below. (Our `nvram.mojave` somehow fixes that issue by invoking it instead of system one) |