summaryrefslogtreecommitdiff
path: root/package/dnsmasq/files/dnsmasq.init
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-06 13:23:56 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-06 13:23:56 +0000
commit8c33c86021965aff7ccd01b1a9c352318631840c (patch)
tree9f177be4e184c9e82251d74e9026a017cab4b76d /package/dnsmasq/files/dnsmasq.init
parent91cb4aac9e96b7f1421263ce02aec27ac66807f9 (diff)
downloadmtk-20170518-8c33c86021965aff7ccd01b1a9c352318631840c.zip
mtk-20170518-8c33c86021965aff7ccd01b1a9c352318631840c.tar.gz
mtk-20170518-8c33c86021965aff7ccd01b1a9c352318631840c.tar.bz2
dnsmasq: remove a useless subshell invocation from the init script
SVN-Revision: 23272
Diffstat (limited to 'package/dnsmasq/files/dnsmasq.init')
-rw-r--r--package/dnsmasq/files/dnsmasq.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index 0b74d41..00882e5 100644
--- 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