Detect the system being shut down or restarted.

Printable View