Use boolean options and fix the relevant init error.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
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
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() {