rockandscissor / osid

Open Source Image Duplicator
48 stars 30 forks source link

Add a button to shutdown the system #6

Open jfklingler opened 9 years ago

jfklingler commented 9 years ago

By adding a button that initiates an orderly shutdown (shutdown -h now), you won't need to ssh into the Pi. Adding a sudoers config to allow http to execute shutdown should do the trick, although sudo isn't installed on Arch by default.