Login | ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/alarming/trunk/Server/motion/motion_cb_detect
(Generate patch)

Comparing trunk/Server/motion/motion_cb_detect (file contents):
Revision 3 by daniel-marschall, Mon May 6 21:25:33 2019 UTC vs.
Revision 4 by daniel-marschall, Tue May 7 09:36:39 2019 UTC

# Line 3 | Line 3
3   DIR=$( dirname "$0" )
4  
5   # Only report every 30 seconds
6 < DETFIL="/tmp/last_motion_detect.ts"
6 > DETFIL="/tmp/last_motion_detect_$USER.ts"
7   if [ -f "$DETFIL" ]; then
8          if test "`find "$DETFIL" -mmin -0,5`"; then
9                  # Neuer als 30 Sekunden. Nix machen

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines