Fix dnsmasq shell driver