2 changed files with 20 additions and 1 deletions
@ -0,0 +1,17 @@
|
||||
--- inn-2.3.3/scripts/innwatch.in.dist Wed Dec 4 15:02:05 2002
|
||||
+++ inn-2.3.3/scripts/innwatch.in Wed Dec 4 15:05:21 2002
|
||||
@@ -126,7 +126,12 @@
|
||||
NEXTSLEEP=1
|
||||
HASEXITED=false
|
||||
|
||||
-while { sleep ${NEXTSLEEP} & wait; } ; : ; do
|
||||
+SLEEPTINY=1
|
||||
+while { sleep ${SLEEPTINY} & wait; } ; : ; do
|
||||
+ NEXTSLEEP=`expr ${NEXTSLEEP} - ${SLEEPTINY}`
|
||||
+ if [ $NEXTSLEEP -gt 0 ]; then
|
||||
+ continue;
|
||||
+ fi
|
||||
NEXTSLEEP=${INNWATCHSLEEPTIME}
|
||||
|
||||
## If news.daily is running, idle: we don't want to change the
|
||||
|
||||
Loading…
Reference in new issue