fix init.d script for jenkins slave