summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xcore/opiealarm/opieatd6
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
@@ -5,33 +5,33 @@ 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