From 3a74aaf6ec5935480f66ad7eca48459d164d8121 Mon Sep 17 00:00:00 2001 From: Georges Date: Sun, 19 Jul 2015 17:01:54 +0200 Subject: [PATCH] added watchdog config --- README.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.txt b/README.txt index fac891c..b586bd5 100644 --- a/README.txt +++ b/README.txt @@ -1,6 +1,12 @@ # doorbuzz raspberry Pi opening the front door and playing videos the button has an RGB led to show status +features: +* button to push to open the door +* LED ring of 60 neopixels showing the current clock +* video player showing some default videos while the space is open +* a shutdown button for a clean shutdown +* watchdog how to install ============== @@ -44,6 +50,20 @@ sudo apt-get install python-pip redis-server sudo pip install redis #the redi.sh comes from here: https://github.com/crypt1d/redi.sh +# setup watchdog +sudo modprobe bcm2708_wdog +echo "bcm2708_wdog" | sudo tee -a /etc/modules + + +sudo apt-get install watchdog +sudo update-rc.d watchdog defaults + +sudo sed -i 's/#\(watchdog-device\)/\1/ + s/#\(max-load-1\s\)/\1/ + ' /etc/watchdog.conf + +sudo service watchdog start + todo ==== create a config file