From: Vladislav Grigoryev Date: Fri, 3 Nov 2023 08:36:10 +0000 (+0300) Subject: pptpd: use boolean options X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=706675cbce94245bd247c7602968d931f1257ce6;p=feed%2Fpackages.git pptpd: use boolean options Use boolean options and fix the relevant init error. Signed-off-by: Vladislav Grigoryev --- diff --git a/net/pptpd/Makefile b/net/pptpd/Makefile index 6c90f4f492..4892a3e9b0 100644 --- a/net/pptpd/Makefile +++ b/net/pptpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pptpd PKG_VERSION:=1.4.0 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/poptop diff --git a/net/pptpd/files/pptpd.init b/net/pptpd/files/pptpd.init index 322eaaf1b5..ae39c0fd57 100644 --- a/net/pptpd/files/pptpd.init +++ b/net/pptpd/files/pptpd.init @@ -18,11 +18,11 @@ validate_login_section() { validate_pptpd_section() { uci_load_validate pptpd service "$1" "$2" \ - 'enabled:uinteger' \ + 'enabled:bool:1' \ 'localip:string' \ 'remoteip:string' \ 'mppe:list(string):required no40 no56 stateless' \ - 'logwtmp:uinteger' + 'logwtmp:bool:0' } setup_login() {