In any town which does not have firewards or engineers the selectmen shall have the authority to establish regulations relative to fire hazards, as is provided in N.H. Rev. Stat. § 154:18. Said regulations shall be recorded and posted as therein provided.