projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3229e3a
)
if readethers is set to true make sure /etc/ethers exists, closes #6740
author
Travis Kemen
<thepeople@openwrt.org>
Sun, 14 Mar 2010 21:33:02 +0000
(21:33 +0000)
committer
Travis Kemen
<thepeople@openwrt.org>
Sun, 14 Mar 2010 21:33:02 +0000
(21:33 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20220
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/dnsmasq/files/dnsmasq.init
patch
|
blob
|
history
diff --git
a/package/dnsmasq/files/dnsmasq.init
b/package/dnsmasq/files/dnsmasq.init
index
64eeded
..
d796f22
100644
(file)
--- a/
package/dnsmasq/files/dnsmasq.init
+++ b/
package/dnsmasq/files/dnsmasq.init
@@
-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