From 86dfe893f3be5f5dc4ff2789d25515418f0133d9 Mon Sep 17 00:00:00 2001 From: Harvie Date: Fri, 3 Aug 2012 06:06:52 +0200 Subject: [PATCH] Kill the bitch --- c/goertzel/sleepmon.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/c/goertzel/sleepmon.sh b/c/goertzel/sleepmon.sh index 646ad56..9f0edd2 100755 --- a/c/goertzel/sleepmon.sh +++ b/c/goertzel/sleepmon.sh @@ -14,8 +14,11 @@ out=/tmp/sleeplog-"$(date +%F_%T)".txt graphout="${out%%.*}.png" + +killall speaker-test &>/dev/null speaker-test -t sine &>/dev/null & pid_test=$! + tresh=10 lastdate="$(date +%s)" laststate=0 -- 2.30.2