Merge pull request #12092 from wongsyrone/patch-1

wsdd2: fix infinite loop when BI_PARM is never set
This commit is contained in:
Rosen Penev 2020-05-05 19:58:09 -07:00 committed by GitHub
commit ec9341ade7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=wsdd2
PKG_RELEASE:=6
PKG_RELEASE:=7
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/Andy2244/wsdd2.git

View File

@ -68,7 +68,7 @@ start_service() {
[ -n "$ifname" ] && procd_append_param command -i "$ifname"
procd_append_param command -N "$NB_PARM"
procd_append_param command -G "$WG_PARM"
procd_append_param command -b "$BI_PARM"
[ "x${BI_PARM}" = "x" ] || procd_append_param command -b "$BI_PARM"
procd_set_param respawn
procd_set_param file "$SMB_CONF"
procd_close_instance