aboutsummaryrefslogtreecommitdiff
path: root/net/ksmbd-tools/files/smb.service
diff options
context:
space:
mode:
authorAndy Walsh <andy.walsh44+github@gmail.com>2020-01-29 21:57:25 +0100
committerAndy Walsh <andy.walsh44+github@gmail.com>2020-01-29 21:57:25 +0100
commit36b0e0bc34ec9e95ed37918348eec31e40e6a4a8 (patch)
treef867805f655614ec4c57bfb4e47af917fef96828 /net/ksmbd-tools/files/smb.service
parent8f1399cf0c34a4ff72cf6efc8259b2f28d5d67f9 (diff)
ksmbd-tools: add avahi service file package
* add avahi service file package, so linux clients can discover ksmbd shares Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Diffstat (limited to 'net/ksmbd-tools/files/smb.service')
-rw-r--r--net/ksmbd-tools/files/smb.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/ksmbd-tools/files/smb.service b/net/ksmbd-tools/files/smb.service
new file mode 100644
index 000000000..24e643036
--- /dev/null
+++ b/net/ksmbd-tools/files/smb.service
@@ -0,0 +1,9 @@
+<?xml version="1.0" standalone='no'?>
+<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
+<service-group>
+ <name replace-wildcards="yes">%h</name>
+ <service>
+ <type>_smb._tcp</type>
+ <port>445</port>
+ </service>
+</service-group>