mirror of https://github.com/hak5/openwrt.git
parent
a8850efe9e
commit
47310844bc
|
@ -100,10 +100,10 @@ dnsmasq() {
|
|||
config_get DOMAIN "$cfg" domain
|
||||
|
||||
config_get_bool readethers "$cfg" readethers
|
||||
[ "$readethers" = "1" ] && [ -e "/etc/ethers" ] || touch /etc/ethers
|
||||
[ "$readethers" = "1" -a \! -e "/etc/ethers" ] && touch /etc/ethers
|
||||
|
||||
config_get leasefile $cfg leasefile
|
||||
[ -n "$leasefile" ] && [ -e "$leasefile" ] || touch "$leasefile"
|
||||
[ -n "$leasefile" -a \! -e "$leasefile" ] && touch "$leasefile"
|
||||
config_get_bool cachelocal "$cfg" cachelocal 1
|
||||
|
||||
config_get hostsfile "$cfg" dhcphostsfile
|
||||
|
|
Loading…
Reference in New Issue