In the absence of such bylaws the selectmen shall make regulations for the purposes named in the preceding section.