diff options
| author | Rosen Penev <rosenp@gmail.com> | 2020-05-05 19:58:09 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-05 19:58:09 -0700 |
| commit | ec9341ade74ceeb2cc7eacb5e5ef1c174f302ead (patch) | |
| tree | e80d00cef9585574cd8af58844b0b0d1d1ef7f42 | |
| parent | 1c54706b97753b6488a4d8f04b68c4e603f0fd0c (diff) | |
| parent | e8bee3aaa321679f240529600603d4af6c6bf798 (diff) | |
Merge pull request #12092 from wongsyrone/patch-1
wsdd2: fix infinite loop when BI_PARM is never set
| -rw-r--r-- | net/wsdd2/Makefile | 2 | ||||
| -rw-r--r-- | net/wsdd2/files/wsdd2.init | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/wsdd2/Makefile b/net/wsdd2/Makefile index b0cfe331e..eac3bd725 100644 --- a/net/wsdd2/Makefile +++ b/net/wsdd2/Makefile @@ -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 diff --git a/net/wsdd2/files/wsdd2.init b/net/wsdd2/files/wsdd2.init index ee60eee2d..ca9653d6c 100644 --- a/net/wsdd2/files/wsdd2.init +++ b/net/wsdd2/files/wsdd2.init @@ -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 |
