author | sandman <sandman> | 2002-06-21 22:57:39 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-21 22:57:39 (UTC) |
commit | 36670ad2bb45fac351361cfa48db99eaadfa13ce (patch) (side-by-side diff) | |
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 @@ -1,37 +1,37 @@ #!/bin/sh timefile=/etc/resumeat trap exit 0 SIGTERM SIGINT SIGQUIT echo $$ >/var/run/opieatd.pid mkdir -p /var/spool/at [ -p /var/spool/at/trigger ] || mkfifo /var/spool/at/trigger while true; do while read </var/spool/at/trigger dummy; do FILES=`ls /var/spool/at/[0-9]* 2>/dev/null` if [ -z "$FILES" ]; then - echo "clear resume at" + # echo "clear resume at" echo "" >$timefile else for i in "$FILES"; do - echo "File = $i" + # echo "File = $i" unixtime=`basename $i | cut -c1-10` pid=`basename $i | cut -c12-` if [ -d /proc/$pid ]; then - echo "Datestring = $unixtime" + # echo "Datestring = $unixtime" echo "$unixtime" >$timefile else rm -f $i fi done fi done done exit 0 |