if readethers is set to true make sure /etc/ethers exists, closes #6740
SVN-Revision: 20220
This commit is contained in:
parent
6aca925ca8
commit
3a13fb95ab
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue