Porting fixes to init script from SLE