Browse Source

Merge pull request #12092 from wongsyrone/patch-1

wsdd2: fix infinite loop when BI_PARM is never set
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
ec9341ade7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/wsdd2/Makefile
  2. +1
    -1
      net/wsdd2/files/wsdd2.init

+ 1
- 1
net/wsdd2/Makefile View File

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


+ 1
- 1
net/wsdd2/files/wsdd2.init View File

@ -68,7 +68,7 @@ start_service() {
[ -n "$ifname" ] && procd_append_param command -i "$ifname" [ -n "$ifname" ] && procd_append_param command -i "$ifname"
procd_append_param command -N "$NB_PARM" procd_append_param command -N "$NB_PARM"
procd_append_param command -G "$WG_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 respawn
procd_set_param file "$SMB_CONF" procd_set_param file "$SMB_CONF"
procd_close_instance procd_close_instance


Loading…
Cancel
Save