dnsmasq: remove creation of /etc/ethers
[openwrt/openwrt.git] / package / network / services / dnsmasq / files / dnsmasq.init
index c1ae0934fd2c466687c80f7ae7f6fa567e4474fa..9c5d35b425a43797ca43cf451cf9052860b71e5b 100644 (file)
@@ -869,9 +869,6 @@ dnsmasq_start()
                ADD_LOCAL_FQDN="$ADD_LOCAL_HOSTNAME"
        fi
 
-       config_get_bool readethers "$cfg" readethers
-       [ "$readethers" = "1" -a \! -e "/etc/ethers" ] && touch /etc/ethers
-
        config_get user_dhcpscript $cfg dhcpscript
        if has_handler || [ -n "$user_dhcpscript" ]; then
                xappend "--dhcp-script=$DHCPSCRIPT"