More init script fixes.