source: freewrt/package/dnsmasq/patches/110-leases-path@ 8139583

freewrt_1_0 freewrt_2_0
Last change on this file since 8139583 was 8139583, checked in by Dirk Nehring <dnehring@…>, 19 years ago

Revert r1385, fix directly in source

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@1387 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.2 KB
Line 
1diff -Nur dnsmasq-2.35.orig/dnsmasq.conf.example dnsmasq-2.35/dnsmasq.conf.example
2--- dnsmasq-2.35.orig/dnsmasq.conf.example 2006-10-18 22:24:50.000000000 +0200
3+++ dnsmasq-2.35/dnsmasq.conf.example 2006-12-27 09:15:54.000000000 +0100
4@@ -273,7 +273,7 @@
5 # The DHCP server needs somewhere on disk to keep its lease database.
6 # This defaults to a sane location, but if you want to change it, use
7 # the line below.
8-#dhcp-leasefile=/var/lib/misc/dnsmasq.leases
9+#dhcp-leasefile=/tmp/dnsmasq.leases
10
11 # Set the DHCP server to authoritative mode. In this mode it will barge in
12 # and take over the lease for any client which broadcasts on the network,
13diff -Nur dnsmasq-2.35.orig/src/config.h dnsmasq-2.35/src/config.h
14--- dnsmasq-2.35.orig/src/config.h 2006-10-28 13:52:41.000000000 +0200
15+++ dnsmasq-2.35/src/config.h 2006-12-27 09:15:31.000000000 +0100
16@@ -36,7 +36,7 @@
17 #if defined(__FreeBSD__) || defined (__OpenBSD__) || defined(__DragonFly__)
18 # define LEASEFILE "/var/db/dnsmasq.leases"
19 #else
20-# define LEASEFILE "/var/lib/misc/dnsmasq.leases"
21+# define LEASEFILE "/tmp/dnsmasq.leases"
22 #endif
23 #if defined(__FreeBSD__)
24 # define CONFFILE "/usr/local/etc/dnsmasq.conf"
Note: See TracBrowser for help on using the repository browser.