aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2014-09-20 20:02:46 +0200
committerlookshe <github@lookshe.org>2014-09-20 20:02:46 +0200
commitc6fc72134f3e11bab508e6bc01517d4e6804bc01 (patch)
treee8d6fc8b2e5c9f9aa5771fd9c2df8e00a22e9066
parent92f04c677aed7006cea24e58176004ba0a7154cd (diff)
Update and rename rasp_starup.py to rasp_startup.py
-rw-r--r--rasp_startup.py (renamed from rasp_starup.py)1
1 files changed, 1 insertions, 0 deletions
diff --git a/rasp_starup.py b/rasp_startup.py
index 37856b9..1cedf8f 100644
--- a/rasp_starup.py
+++ b/rasp_startup.py
@@ -25,6 +25,7 @@ def playerThreadFunc():
if process != 0:
if process.poll() == None:
process.terminate()
+ subprocess.call(['killall', cmd_player], shell=True)
time.sleep(1)
# turn on led
GPIO.output(led_pin, True)