GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f51cf84
)
Little fix
author
Tomas Mudrunka
<tomas@mudrunka.cz>
Wed, 1 Aug 2012 03:02:00 +0000
(
05:02
+0200)
committer
Tomas Mudrunka
<tomas@mudrunka.cz>
Wed, 1 Aug 2012 03:02:00 +0000
(
05:02
+0200)
c/goertzel/sleepmon.sh
patch
|
blob
|
blame
|
history
diff --git
a/c/goertzel/sleepmon.sh
b/c/goertzel/sleepmon.sh
index 75eb6ee7f63290fbc7ec76c372aada83d57c14d5..cb28c7187de5e2a7d82c66cfa7f70024293fd5b9 100755
(executable)
--- a/
c/goertzel/sleepmon.sh
+++ b/
c/goertzel/sleepmon.sh
@@
-28,10
+28,10
@@
arecord | ./goertzel -i -q -a -t $tresh -s 2000 | while read line; do
echo -ne "$time\t$date\t$(date '+%F%t%r')\t"
test "$level" -gt "$tresh" && {
echo -n "Nothing detected...";
- $screen && xset dpms force off
+ $screen && xset dpms force off
|| true;
} || {
echo -n "Motion detected!!!!";
- $screen && xset dpms force on
+ $screen && xset dpms force on
;
}
test "$lastdate" != 0 && {
after=$(( $date - $lastdate))
This page took
0.096718 seconds
and
4
git commands to generate.