mirror of
https://github.com/openwrt/packages.git
synced 2026-02-04 12:06:29 +08:00
kea: create /var/lib/kea directory in init script
This is required to fix the following error: kea-dhcp4: ERROR [kea-dhcp4.dhcpsrv.548449842384] DHCPSRV_MEMFILE_FAILED_TO_OPEN Could not open lease file: invalid path specified: '/var', supported path is '/var/lib/kea' Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
committed by
Philip Prindeville
parent
e4f965537d
commit
6b58aa69ca
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=kea
|
||||
PKG_VERSION:=3.0.2
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://ftp.isc.org/isc/kea/$(PKG_VERSION)
|
||||
|
||||
@@ -8,7 +8,7 @@ BIN_PATH="/usr/sbin"
|
||||
CONF_PATH="/etc/kea"
|
||||
|
||||
start_service() {
|
||||
mkdir --mode=0750 -p /var/run/kea
|
||||
mkdir --mode=0750 -p /var/lib/kea /var/run/kea
|
||||
|
||||
config_load "kea"
|
||||
config_foreach start_kea "service"
|
||||
|
||||
Reference in New Issue
Block a user