diff options
Diffstat (limited to 'monitor-uucp')
-rwxr-xr-x | monitor-uucp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/monitor-uucp b/monitor-uucp index 412c707..21d6f94 100755 --- a/monitor-uucp +++ b/monitor-uucp | |||
@@ -53,12 +53,9 @@ while true; do | |||
53 | done | 53 | done |
54 | 54 | ||
55 | if $watched || [[ $slept -ge $(($sleepTimeout / $sleep)) ]]; then | 55 | if $watched || [[ $slept -ge $(($sleepTimeout / $sleep)) ]]; then |
56 | printf "inotify (%s)\n" $(date +"%T") | ||
57 | @inotify@/bin/inotifywait -r -e access /var/spool/uucp &>/dev/null | 56 | @inotify@/bin/inotifywait -r -e access /var/spool/uucp &>/dev/null |
58 | slept=0 | ||
59 | else | 57 | else |
60 | sleep 0.1 | 58 | sleep 0.1 |
61 | printf "." | ||
62 | slept=$(($slept + 1)) | 59 | slept=$(($slept + 1)) |
63 | fi | 60 | fi |
64 | done | 61 | done |