fix several bugs of init.d scripts

- PIDFILE environ variable was not properly retrieved
- chkconfig command failed
This commit is contained in:
quiver 2012-05-04 20:07:00 +09:00
parent 96e9f8d5e3
commit c4286feabe
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
case "$1" in
start)
if [ -f $$PIDFILE ]
if [ -f $PIDFILE ]
then
echo "$PIDFILE exists, process is already running or crashed"
else