add ubuntu(12.04) support. fix bug with error when starting initscript of thruk