1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-02 18:02:57 +03:00

if readethers is set to true make sure /etc/ethers exists, closes #6740

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20220 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
thepeople 2010-03-14 21:33:02 +00:00
parent c37b60f3dc
commit 1f2f21c1d0

View File

@ -90,6 +90,9 @@ dnsmasq() {
config_get DOMAIN "$cfg" domain
config_get_bool readethers "$cfg" readethers
[ "$readethers" = "1" ] && [ -e "/etc/ethers" ] || touch /etc/ethers
config_get leasefile $cfg leasefile
[ -e "$leasefile" ] || touch "$leasefile"
config_get_bool cachelocal "$cfg" cachelocal 1