summaryrefslogtreecommitdiff
path: root/package/network/services/dnsmasq/files/dnsmasq.init
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-08-19 20:52:00 +0200
committerHans Dedecker <dedeckeh@gmail.com>2018-08-21 15:55:10 +0200
commit6c227e45cb6a97c61d9fa2ffa35cebee2a048739 (patch)
tree808f43c6e5c79a1147e2f86e058feb32c5e5ecda /package/network/services/dnsmasq/files/dnsmasq.init
parentd810d44e5a88e7ed5a72f8cd39fc57639aa6dbd0 (diff)
downloadmtk-20170518-6c227e45cb6a97c61d9fa2ffa35cebee2a048739.zip
mtk-20170518-6c227e45cb6a97c61d9fa2ffa35cebee2a048739.tar.gz
mtk-20170518-6c227e45cb6a97c61d9fa2ffa35cebee2a048739.tar.bz2
dnsmasq: remove creation of /etc/ethers
Remove creation of file /etc/ethers in dnsmasq init script as the file is now created by default in the base-files package by commit fa3301a28e Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package/network/services/dnsmasq/files/dnsmasq.init')
-rw-r--r--package/network/services/dnsmasq/files/dnsmasq.init3
1 files changed, 0 insertions, 3 deletions
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init
index c1ae093..9c5d35b 100644
--- a/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
@@ -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"