MT#6485 sync init.d scripts from templates.
MT#6485 add container check at init script