From: Harvie Date: Fri, 3 Aug 2012 04:06:52 +0000 (+0200) Subject: Kill the bitch X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=86dfe893f3be5f5dc4ff2789d25515418f0133d9;p=mirrors%2FPrograms.git Kill the bitch --- 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