Quote Originally Posted by RobDog888
Kind of weird how you both got the same code example.

JBD2, what is the use of shutting down the system through code?
Maybe for an automated shutdown. I made a program that does that.