# Upgrade configuration from previous versions
if test -e /etc/sysconfig/dnsmasq; then
if egrep -q '^[^#]*ALL *=' /etc/sysconfig/dnsmasq; then
if ! egrep -q '^[^#]*ALL_DEV *=' /etc/sysconfig/dnsmasq; then
echo 'NOTE: You should put ALL_DEV=<interface> to /etc/sysconfig/dnsmasq'
echo ' for keeping DHCP broadcasts mode.'
fi
fi
fi