samba36: Enable umdnsd support
Allows discovery without having to use NetBIOS. Useful for mobile devices. Could eventually throw nbmd away. But that requires Windows 10... Tested on Fedora 28 with avahi-discover. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
7961009346
commit
499773f8ef
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=samba
|
PKG_NAME:=samba
|
||||||
PKG_VERSION:=3.6.25
|
PKG_VERSION:=3.6.25
|
||||||
PKG_RELEASE:=11
|
PKG_RELEASE:=12
|
||||||
|
|
||||||
PKG_SOURCE_URL:=https://download.samba.org/pub/samba \
|
PKG_SOURCE_URL:=https://download.samba.org/pub/samba \
|
||||||
https://download.samba.org/pub/samba/stable
|
https://download.samba.org/pub/samba/stable
|
||||||
|
|
|
@ -101,6 +101,7 @@ start_service() {
|
||||||
init_config
|
init_config
|
||||||
|
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
|
procd_add_mdns "smb" "tcp" "445"
|
||||||
procd_set_param command /usr/sbin/smbd -F
|
procd_set_param command /usr/sbin/smbd -F
|
||||||
procd_set_param respawn
|
procd_set_param respawn
|
||||||
procd_set_param file /var/etc/smb.conf
|
procd_set_param file /var/etc/smb.conf
|
||||||
|
|
Loading…
Reference in New Issue