I see you are using two new variables `$(failure)` and `$(sucess)` but they are not being set in this init.d script. Should I guess this is the kind of magic that /etc/rc.d/init.d/functions does? :)