From 3658b2c765d724453aa9e418a5f061463c814fcc Mon Sep 17 00:00:00 2001 From: Jim McKenna Date: Sat, 23 Jun 2018 21:44:48 -0400 Subject: [PATCH] Updated Update pages - added update from c2 - renamed update to update padd --- Updating.md => Updating PADD.md | 0 Updating from Chronometer2.md | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+) rename Updating.md => Updating PADD.md (100%) create mode 100644 Updating from Chronometer2.md diff --git a/Updating.md b/Updating PADD.md similarity index 100% rename from Updating.md rename to Updating PADD.md diff --git a/Updating from Chronometer2.md b/Updating from Chronometer2.md new file mode 100644 index 0000000..e44d4ff --- /dev/null +++ b/Updating from Chronometer2.md @@ -0,0 +1,23 @@ +To update PADD from chronometer2: +- Get the latest version of PADD: +```bash +cd ~ +wget -N https://raw.githubusercontent.com/jpmck/PADD/master/padd.sh +chmod +x padd.sh +``` +- Edit the end of `~/.bashrc`: +```bash +# Run PADD +# If we're on the PiTFT screen (ssh is xterm) +if [ "$TERM" == "linux" ] ; then + while : + do + ./padd.sh + sleep 1 + done +fi +``` +- Remove the old chronometer2 script: +```bash +rm -f chronometer2.sh +```