Skip to content
Permalink
Browse files

Include PiWatcher support on RPi

  • Loading branch information...
NEMS Linux
NEMS Linux committed Feb 17, 2019
1 parent b2cd3e7 commit 7981ecaaa2ecd35a84b492192e121a25079ab558
Showing with 17 additions and 2 deletions.
  1. +17 −0 build/160-rpi-piwatcher
  2. +0 −2 build/160-rpimonitor
@@ -0,0 +1,17 @@
#!/bin/bash

platform=$(/usr/local/bin/nems-info platform)

if [[ $platform = "0" ]] || [[ $platform = "1" ]] || [[ $platform = "2" ]] || [[ $platform = "3" ]]; then
printf "Installing support for PiWatcher hardware... "
cd /tmp
git clone https://github.com/omzlo/piwatcher/
cd piwatcher
make
if [[ -e /tmp/piwatcher/piwatcher ]]; then
mv /tmp/piwatcher/piwatcher /usr/local/bin/
echo "Success."
else
echo "Failed."
fi
fi
@@ -1,7 +1,5 @@
#!/bin/bash

# STILL NEED TO ADD TEMPLATE FOR NEMS 1.4

printf "Installing rpimonitor... "
platform=$(/usr/local/share/nems/nems-scripts/info.sh platform) # This is why we have to do this after 150-nems

0 comments on commit 7981eca

Please sign in to comment.
You can’t perform that action at this time.