Fix init-scripts syntax error: 'fi' unexpected