Kill the bitch
authorHarvie <tomas@mudrunka.cz>
Fri, 3 Aug 2012 04:06:52 +0000 (06:06 +0200)
committerHarvie <tomas@mudrunka.cz>
Fri, 3 Aug 2012 04:06:52 +0000 (06:06 +0200)
c/goertzel/sleepmon.sh

index 646ad56650514f15cdc980f424de6928b46c4d11..9f0edd27093870633a3a2fbe53e8fdb7cb5e8924 100755 (executable)
 
 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
This page took 0.095596 seconds and 4 git commands to generate.