From a19e149fbda0a2a4560ba969063266e43393e5a2 Mon Sep 17 00:00:00 2001 From: Matthew Date: Thu, 22 Aug 2013 14:55:07 +0100 Subject: [PATCH] Create leds.sh Bash script to execute LEDs python script which will instantly restart the program should it end for whatever reason. --- leds.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 leds.sh diff --git a/leds.sh b/leds.sh new file mode 100644 index 0000000..70a0f63 --- /dev/null +++ b/leds.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +while [ 1 ]; do # do forever +{ +/home/pi/leds.py +sleep 1 # delay for one second +} + +done