diff options
author | 2008-08-29 13:10:29 +0000 | |
---|---|---|
committer | 2008-08-29 13:10:29 +0000 | |
commit | d9a00fe73d32bfad0f2f385e410abb88844f2fb3 (patch) | |
tree | 58983d652480296d80ca657219c4fbc649cc5afc /2.2 | |
parent | remove keepalive off for peruser mpm wrt #232083 (diff) | |
download | apache-d9a00fe73d32bfad0f2f385e410abb88844f2fb3.tar.gz apache-d9a00fe73d32bfad0f2f385e410abb88844f2fb3.tar.bz2 apache-d9a00fe73d32bfad0f2f385e410abb88844f2fb3.zip |
make init script sh compliant
Diffstat (limited to '2.2')
-rwxr-xr-x | 2.2/init/apache2.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/2.2/init/apache2.initd b/2.2/init/apache2.initd index 2638c87..bde42c0 100755 --- a/2.2/init/apache2.initd +++ b/2.2/init/apache2.initd @@ -63,7 +63,7 @@ start() { let i=0 while [ ! -e "${PIDFILE}" ] && [ $i -lt ${TIMEOUT} ]; do - sleep 1 && let i++ + sleep 1 && i=$(expr $i + 1) done test $i -le ${TIMEOUT} @@ -78,7 +78,7 @@ stop() { let i=0 while pidof "${APACHE2}" >/dev/null && [ $i -lt ${TIMEOUT} ]; do - sleep 1 && let i++ + sleep 1 && i=$(expr $i + 1) done test $i -le ${TIMEOUT} |