Skip to content

Commit

Permalink
Add zeroconf services
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyklay committed Nov 21, 2020
1 parent d4350aa commit 12f2ab7
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
13 changes: 13 additions & 0 deletions etc/avahi/services/ftp.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">

<service-group>

<name replace-wildcards="yes">%h</name>

<service>
<type>_ftp._tcp</type>
<port>21</port>
</service>

</service-group>
13 changes: 13 additions & 0 deletions etc/avahi/services/samba.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">

<service-group>

<name replace-wildcards="yes">%h</name>

<service>
<type>_smb._tcp</type>
<port>139</port>
</service>

</service-group>
13 changes: 13 additions & 0 deletions etc/avahi/services/sftp-ssh.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">

<service-group>

<name replace-wildcards="yes">%h</name>

<service>
<type>_sftp-ssh._tcp</type>
<port>22</port>
</service>

</service-group>
13 changes: 13 additions & 0 deletions etc/avahi/services/ssh.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">

<service-group>

<name replace-wildcards="yes">%h</name>

<service>
<type>_ssh._tcp</type>
<port>22</port>
</service>

</service-group>

0 comments on commit 12f2ab7

Please sign in to comment.