Make enabling of init script more robust.