From 3206c1a74854b4c92d6684bbd4310daf794962ba Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Fri, 19 Oct 2018 00:48:43 +0800 Subject: [PATCH] dnsmasq force dhcp server at boot --- package/network/services/dnsmasq/Makefile | 2 +- package/network/services/dnsmasq/files/dhcp.conf | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile index cf9dc60a4..b1fb00aef 100644 --- a/package/network/services/dnsmasq/Makefile +++ b/package/network/services/dnsmasq/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dnsmasq PKG_VERSION:=2.80rc1 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq/release-candidates diff --git a/package/network/services/dnsmasq/files/dhcp.conf b/package/network/services/dnsmasq/files/dhcp.conf index 360c7d79e..4b2fe3c45 100644 --- a/package/network/services/dnsmasq/files/dhcp.conf +++ b/package/network/services/dnsmasq/files/dhcp.conf @@ -25,7 +25,8 @@ config dhcp lan option interface lan option start 100 option limit 150 - option leasetime 12h + option leasetime 24h + option force 1 config dhcp wan option interface wan