--- builds/install/arch-specific/linux/misc/firebird.init.d.mandrake.in 2008-01-22 06:45:19.000000000 -0500 +++ builds/install/arch-specific/linux/misc/firebird.init.d.mandrake.in.oden 2008-07-18 08:49:17.000000000 -0400 @@ -39,18 +39,19 @@ echo $MANAGER -pidfile $pidfile -start -forever | su $FBRunUser RETVAL=$? [ $RETVAL -eq 0 ] && success || failure + [ $RETVAL -eq 0 ] && touch /var/lock/subsys/firebird echo ;; stop) - echo -n "Stopping $FULLNAME " - - if [ -f $pidfile ] - then - kill `cat $pidfile` - fi - RETVAL=$? - [ $RETVAL -eq 0 ] && success || failure - echo + if [ -f $pidfile ] + then + action "Stopping %s: " "$FULLNAME" kill -TERM `cat $pidfile` + else + gprintf "$FULLNAME server is stopped" + echo + fi + RETVAL=$? + [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/firebird ;; status) if [ -f $pidfile ]