mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02: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:
parent
c37b60f3dc
commit
1f2f21c1d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user