1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-16 20:33:58 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
Rafał Miłecki
6020ca52bf wsdd2: fix stopping service
Function start_service() is called whenever service may need reloading.
If SMB server is not running it could be simply because it has been
stopped. Reloading service in such case is not an error so:
1. Don't log error as it isn't one
2. Don't exit with error code as it was confusing procd

This change fixes scenario like:
/etc/init.d/ksmbd stop
/etc/init.d/wsdd2 reload
(previously above wasn't stopping wsdd2)

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2023-05-11 18:21:42 +03:00
Rosen Penev
7cdc9da02a wsdd2: update config file for ksmbd
Previous commit makes use of ksmbd.conf

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-06 12:39:03 -08:00
Li Zhang
5fc06d939f wsdd2: Remove extra comma, which breaks the key-value pair of the '-b' parameter
Signed-off-by: Li Zhang <starsunyzl@gmail.com>
2022-04-25 18:36:31 -07:00
Fritz D. Ansel
3953ff956d wsdd2: dont use fqdn
workgroups use the name of the host without domain

Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
2021-08-15 14:42:37 +03:00
Andy Walsh
584d37fb0c wsdd2: update to git 2021-06-28 (v1.8.5)
* update to git 2021-06-28 (v1.8.5)
* add extra startup delay

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2021-06-28 18:06:03 +02:00
Andy Walsh
3ba3a0ba4a wsdd2: Uppercase NB_PARM
* Uppercase NB_PARM if mdns option is not set
* filter commented lines

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-07-18 13:00:22 +02:00
Syrone Wong
e8bee3aaa3 wsdd2: bump PKG_RELEASE; refine init script
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2020-05-06 10:12:03 +08:00
Syrone Wong
48d9521ecd wsdd2: fix infinite loop when BI_PARM is never set
If BI_PARM is never set, it's "" and causes
infinite loop (before my PR sent upstream) or
error out (after my PR sent upstream).
Append -b option only if it's valid.

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2020-05-06 07:59:52 +08:00
Rosen Penev
94040813a8
wsdd2: run init script through shellcheck
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-29 21:35:43 -07:00
Andy Walsh
878402d28f wsdd2: fix typos
* fix typos (WG_PARM, reload_trigger)

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-02-02 15:04:28 +01:00
Andy Walsh
f27a6e42d1 wsdd2: update for renamed smbd->ksmbd
* update for renamed smbd->ksmbd

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-01-26 16:42:13 +01:00
Ansuel Smith
56b7c239fd
wsdd2: fix install warning on compile
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-01-07 19:37:20 +01:00
Andy Walsh
fbd991aaa2 wsdd2: update init for renamed cifsd->smbd
* update init for renamed cifsd->smbd

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-12-31 15:16:07 +01:00
Andy Walsh
e1a305a355 wsdd2: update to git (2019-12-15), bind to 'lan' only
* update to git (2019-12-15)
* bind to 'lan' interface only
* make cifsd compatible (avoid testparm dependency)
* only start if needed
* add meta data (vendor, model, sku)
* update smb.conf procd location
* lower restart delay
* remove outdated patch

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2019-12-15 20:44:49 +01:00
Andy Walsh
32fe219d6f wsdd2: fix missing triggers
* add triggers so changes can be picked up

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-09-27 17:08:33 +02:00
Andy Walsh
0d23c9f2ea samba4: add package samba-4.8
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-07-26 21:38:19 +02:00