script to generate DHCPd config