wsdd2: fix typos 11214/head
authorAndy Walsh <andy.walsh44+github@gmail.com>
Sun, 2 Feb 2020 14:06:34 +0000 (15:06 +0100)
committerAndy Walsh <andy.walsh44+github@gmail.com>
Sun, 2 Feb 2020 14:06:34 +0000 (15:06 +0100)
* fix typos (WG_PARM, reload_trigger)

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
net/wsdd2/Makefile
net/wsdd2/files/wsdd2.init

index 550596d058f37473aa4d21be75ba9951203b9ed5..6b1e5dc41e9c1528ab3b964601027d2ece120477 100644 (file)
@@ -1,7 +1,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=wsdd2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/Andy2244/wsdd2.git
index 6474b0cda09f59a4d26903b486f6bd1e6bda9445..24595e0f361dd633b727c250ba017314e220fd24 100644 (file)
@@ -45,7 +45,7 @@ start_service() {
        if [ -n "$wg_name" ]; then
                WG_PARM="-G $wg_name"
        else
-               NB_PARM="-G WORKGROUP"
+               WG_PARM="-G WORKGROUP"
        fi
 
        # resolve lan interface (BUG: No multi-interface binds atm)
@@ -82,5 +82,5 @@ start_service() {
 
 service_triggers() {
        PROCD_RELOAD_DELAY=1000
-       procd_add_reload_trigger "dhcp" "system" "samba" "samba4" "smbd"
+       procd_add_reload_trigger "dhcp" "system" "samba" "samba4" "ksmbd"
 }