Skip to content

Commit

Permalink
Share the script with non-NEMS users
Browse files Browse the repository at this point in the history
  • Loading branch information
Cat5TV committed Feb 25, 2019
1 parent b2e3d89 commit 1e46694
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions piwatcher
Expand Up @@ -9,7 +9,12 @@
# the Pi is powered back on after 15 seconds of power off.
# This way, if the Pi locks up, it will be automatically restarted.

# For those interested, here's how I compile and install piWatcher:
# https://github.com/Cat5TV/nems-admin/blob/master/build/160-rpi-piwatcher

platform=$(/usr/local/bin/nems-info platform)
# If you're not using NEMS Linux but still want to use my script, comment the command above and uncomment this:
#platform=1

if [[ $platform < 10 ]]; then

Expand Down

0 comments on commit 1e46694

Please sign in to comment.