I need something like a pop-up while clicking on shutdown button or reboot button in GUI and also while running the command reboot / shutdown / init it should ask some confirmation message[it can be just a message in terminal itself - No need of popup].. Do you want to do so..and so.
How can i make this possible ?