-
I want a safe shutdown on button press but your code commands 'poweroff' - could you advise on the changes to replace this with 'shutdown now' so everything has time to shutdown correctly?