fix defect #4245 In rhels 7 env,setupntp script will show error message