author | sandman <sandman> | 2002-06-21 22:57:39 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-21 22:57:39 (UTC) |
commit | 36670ad2bb45fac351361cfa48db99eaadfa13ce (patch) (unidiff) | |
tree | 3cf7b34f3e85febee259f06f9cf000e6d71ecd1f | |
parent | caf19347cd1fc0a0e009dbbd2ce4ff4041425df2 (diff) | |
download | opie-36670ad2bb45fac351361cfa48db99eaadfa13ce.zip opie-36670ad2bb45fac351361cfa48db99eaadfa13ce.tar.gz opie-36670ad2bb45fac351361cfa48db99eaadfa13ce.tar.bz2 |
disable debug echo's
-rwxr-xr-x | core/opiealarm/opieatd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/opiealarm/opieatd b/core/opiealarm/opieatd index fc2d421..34dfb2e 100755 --- a/core/opiealarm/opieatd +++ b/core/opiealarm/opieatd | |||
@@ -9,27 +9,27 @@ echo $$ >/var/run/opieatd.pid | |||
9 | mkdir -p /var/spool/at | 9 | mkdir -p /var/spool/at |
10 | [ -p /var/spool/at/trigger ] || mkfifo /var/spool/at/trigger | 10 | [ -p /var/spool/at/trigger ] || mkfifo /var/spool/at/trigger |
11 | 11 | ||
12 | while true; do | 12 | while true; do |
13 | while read </var/spool/at/trigger dummy; do | 13 | while read </var/spool/at/trigger dummy; do |
14 | FILES=`ls /var/spool/at/[0-9]* 2>/dev/null` | 14 | FILES=`ls /var/spool/at/[0-9]* 2>/dev/null` |
15 | 15 | ||
16 | if [ -z "$FILES" ]; then | 16 | if [ -z "$FILES" ]; then |
17 | echo "clear resume at" | 17 | # echo "clear resume at" |
18 | echo "" >$timefile | 18 | echo "" >$timefile |
19 | else | 19 | else |
20 | for i in "$FILES"; do | 20 | for i in "$FILES"; do |
21 | echo "File = $i" | 21 | # echo "File = $i" |
22 | 22 | ||
23 | unixtime=`basename $i | cut -c1-10` | 23 | unixtime=`basename $i | cut -c1-10` |
24 | pid=`basename $i | cut -c12-` | 24 | pid=`basename $i | cut -c12-` |
25 | 25 | ||
26 | if [ -d /proc/$pid ]; then | 26 | if [ -d /proc/$pid ]; then |
27 | echo "Datestring = $unixtime" | 27 | # echo "Datestring = $unixtime" |
28 | echo "$unixtime" >$timefile | 28 | echo "$unixtime" >$timefile |
29 | else | 29 | else |
30 | rm -f $i | 30 | rm -f $i |
31 | fi | 31 | fi |
32 | done | 32 | done |
33 | fi | 33 | fi |
34 | done | 34 | done |
35 | done | 35 | done |