OpenCore-Config-iMac/EFI/OC/Tools/LogoutHook
2020-02-05 18:48:42 +01:00
..
LogoutHook.command initial commit, running config 2020-02-05 18:48:42 +01:00
nvram.mojave initial commit, running config 2020-02-05 18:48:42 +01:00
README.md initial commit, running config 2020-02-05 18:48:42 +01:00

LogoutHook

Installation

sudo defaults write com.apple.loginwindow LogoutHook /path/to/LogoutHook.command

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)