summaryrefslogtreecommitdiffstats
path: root/rules/dnsmasq.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/dnsmasq.make')
-rw-r--r--rules/dnsmasq.make5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/dnsmasq.make b/rules/dnsmasq.make
index 861936329..d9a134cdf 100644
--- a/rules/dnsmasq.make
+++ b/rules/dnsmasq.make
@@ -104,9 +104,10 @@ endif
@$(call install_alternative, dnsmasq, 0, 0, 0644, /etc/dnsmasq.conf)
-# for the 'dnsmasq.leases' file
+ifdef PTXCONF_DNSMASQ_DHCP
+# # for the 'dnsmasq.leases' file
@$(call install_copy, dnsmasq, 0, 0, 0755, /var/lib/misc)
-
+endif
@$(call install_finish, dnsmasq)
@$(call touch)