mirror of https://github.com/hak5/openwrt.git
if readethers is set to true make sure /etc/ethers exists, closes #6740
SVN-Revision: 20220lede-17.01
parent
6aca925ca8
commit
3a13fb95ab
|
@ -90,6 +90,9 @@ dnsmasq() {
|
||||||
|
|
||||||
config_get DOMAIN "$cfg" domain
|
config_get DOMAIN "$cfg" domain
|
||||||
|
|
||||||
|
config_get_bool readethers "$cfg" readethers
|
||||||
|
[ "$readethers" = "1" ] && [ -e "/etc/ethers" ] || touch /etc/ethers
|
||||||
|
|
||||||
config_get leasefile $cfg leasefile
|
config_get leasefile $cfg leasefile
|
||||||
[ -e "$leasefile" ] || touch "$leasefile"
|
[ -e "$leasefile" ] || touch "$leasefile"
|
||||||
config_get_bool cachelocal "$cfg" cachelocal 1
|
config_get_bool cachelocal "$cfg" cachelocal 1
|
||||||
|
|
Loading…
Reference in New Issue