Browse Source

wsdd2: fix install warning on compile

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
lilik-openwrt-22.03
Ansuel Smith 5 years ago
parent
commit
56b7c239fd
No known key found for this signature in database GPG Key ID: AC001D09ADBFEAD7
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      net/wsdd2/Makefile
  2. +2
    -2
      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:=2
PKG_RELEASE:=3
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


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

@ -9,10 +9,10 @@ NB_PARM=""
WG_PARM="" WG_PARM=""
BI_PARM="" BI_PARM=""
. /lib/functions/network.sh
start_service() { start_service() {
. /lib/functions/network.sh
if [ -e /etc/smbd/smb.conf ] && [ -e /etc/init.d/smbd ] && /etc/init.d/smbd running; then if [ -e /etc/smbd/smb.conf ] && [ -e /etc/init.d/smbd ] && /etc/init.d/smbd running; then
SMB_CONF="/etc/smbd/smb.conf" SMB_CONF="/etc/smbd/smb.conf"
fi fi


Loading…
Cancel
Save