projects
/
openwrt
/
staging
/
mkresin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91cb4aa
)
dnsmasq: remove a useless subshell invocation from the init script
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 6 Oct 2010 13:23:56 +0000
(13:23 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 6 Oct 2010 13:23:56 +0000
(13:23 +0000)
SVN-Revision: 23272
package/dnsmasq/files/dnsmasq.init
patch
|
blob
|
history
diff --git
a/package/dnsmasq/files/dnsmasq.init
b/package/dnsmasq/files/dnsmasq.init
index 0b74d419e5f1476965882f195ce495a4ae31ef2d..00882e5f51777f88834b811f98f3e29b69b8ef28 100644
(file)
--- a/
package/dnsmasq/files/dnsmasq.init
+++ b/
package/dnsmasq/files/dnsmasq.init
@@
-102,7
+102,7
@@
dnsmasq() {
[ "$readethers" = "1" ] && [ -e "/etc/ethers" ] || touch /etc/ethers
config_get leasefile $cfg leasefile
- [ -n "$leasefile" ] &&
([ -e "$leasefile" ] || touch "$leasefile")
+ [ -n "$leasefile" ] &&
[ -e "$leasefile" ] || touch "$leasefile"
config_get_bool cachelocal "$cfg" cachelocal 1
config_get hostsfile "$cfg" dhcphostsfile