From f2f016ef99cdc948254d68c015cb5b95e02c1a34 Mon Sep 17 00:00:00 2001 From: jow Date: Wed, 6 Oct 2010 13:23:56 +0000 Subject: [package] dnsmasq: remove a useless subshell invocation from the init script git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23272 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/dnsmasq/files/dnsmasq.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/dnsmasq') diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index 0b74d419e5..00882e5f51 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 -- cgit v1.2.3