-
Notifications
You must be signed in to change notification settings - Fork 54
Restart/Poweroff #27
Comments
Use the "reboot" and "poweroff" commands |
Note for myself: Think about an Ajax view to receive commands and another Ajax to receive "ping". Interface will send reboot/poweroff command, the view will perform it. Obviously the server wont be able to answer to request since it will be shutted off when the command is executed. So the interface should assume the box is rebooting/powered off if the ajax request fail on network error (unreachable host or somewhat). For reboot command, the interface would have to send a ping request until it is answered. |
👍 |
❤️ |
Note: be strict on available command, don't let execute everything |
With the 4.0.0, systemV is now used for init process. The commands you should use now are : reboot and shutdown -h That will allow the pin 5/6 wakeup |
I'd love to see options to reboot and shutdown the Pi, as I was often stuck in an emulator after messing with the pad configuration, and I have no keyboard. |
I just spent the last half hour looking for this feature. Now I see it is not implemented. |
Have to search the proper way to emit a reboot or poweroff from the interface.
Then put some big red push buttons somewhere.
The text was updated successfully, but these errors were encountered: