if [ -f etc/dnsmasq.conf ] ; then
  rm etc/dnsmasq.conf.dist
else
  mv etc/dnsmasq.conf.dist /tmp
  mv /tmp/dnsmasq.conf.dist etc/dnsmasq.conf
fi
