Shutdown Tool to shutdown Raspberry Pi remotely.
 
 
 
Go to file
Darshil Chanpura b8b94639c5 Added installation instructions 2020-05-23 12:34:59 +05:30
cmd/shutdown-tool Some refactoring to make it look good as project-layout 2020-05-23 12:06:52 +05:30
images Added README.md with contents 2020-05-17 14:27:51 +05:30
init/systemd Added service file and .editorconfig, fixes #1 2020-05-23 12:10:47 +05:30
scripts Added installation script and improved release part, fixes #2 2020-05-23 12:11:41 +05:30
.editorconfig Added service file and .editorconfig, fixes #1 2020-05-23 12:10:47 +05:30
.gitignore Added README.md with contents 2020-05-17 14:27:51 +05:30
Makefile Added installation script and improved release part, fixes #2 2020-05-23 12:11:41 +05:30
README.md Added installation instructions 2020-05-23 12:34:59 +05:30

README.md

Shutdown Tool

For some of my Raspberry Pis

Introduction

This is a simple and easy to use tool which listens on a port and shows up a page which can be used to shutdown the system.

Following is the screen that you see when you open the URL. Image 1

Also with a friendly message when shutdown happens. Image 1

Installation

Grab the latest release from here based on the architecture and operating system and the sha256sums.txt

Verify Release

By verifying sha256sums.txt which will be signed by the key ID "DBB4CCE6982EAEA264145940CB92EA9074F31320".

$ gpg --verify sha256sums.txt
gpg: Signature made Sat May 23 12:21:09 2020 IST
gpg:                using RSA key DBB4CCE6982EAEA264145940CB92EA9074F31320
gpg:                issuer "dtchanpura@protonmail.com"

Now verify the tarball.

$ sha256sum --check sha256sums.txt
shutdown-tool-v1.1.0-linux-amd64.tar.gz: OK
shutdown-tool-v1.1.0-linux-arm.tar.gz: OK
shutdown-tool-v1.1.0-linux-arm64.tar.gz: OK

Based on the file downloaded the output may vary.

Install

We will now extract and install the tool.

tar -xf shutdown-tool-v1.1.0-linux-arm.tar.gz
sudo ./install.sh

Now check your http://:8001 which will show the page.

Next Steps

  • Add some credentials
  • Add consolidated ability to shutdown and list multiple instances