mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-18 13:06:51 +00:00
dnsmasq: remove a useless subshell invocation from the init script
SVN-Revision: 23272
This commit is contained in:
parent
91cb4aac9e
commit
8c33c86021
@ -102,7 +102,7 @@ dnsmasq() {
|
|||||||
[ "$readethers" = "1" ] && [ -e "/etc/ethers" ] || touch /etc/ethers
|
[ "$readethers" = "1" ] && [ -e "/etc/ethers" ] || touch /etc/ethers
|
||||||
|
|
||||||
config_get leasefile $cfg leasefile
|
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_bool cachelocal "$cfg" cachelocal 1
|
||||||
|
|
||||||
config_get hostsfile "$cfg" dhcphostsfile
|
config_get hostsfile "$cfg" dhcphostsfile
|
||||||
|
Loading…
Reference in New Issue
Block a user