]> git.meshlink.io Git - catta/commitdiff
* don't install example.service
authorLennart Poettering <lennart@poettering.net>
Sat, 30 Jul 2005 19:17:00 +0000 (19:17 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 30 Jul 2005 19:17:00 +0000 (19:17 +0000)
* add ssh.service and install it by default

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@205 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-daemon/Makefile.am
avahi-daemon/example.service
avahi-daemon/ssh.service [new file with mode: 0644]

index b56aa554c60716d347e4b572fc13de46801ba29d..62c2cd3aad0e94408efc5c9b2bfdb46d34a4b731 100644 (file)
@@ -61,7 +61,7 @@ pkgsysconf_DATA = \
        avahi-daemon.conf
 
 service_DATA = \
-       example.service
+       ssh.service
 
 pkgdata_DATA = \
        avahi-service.dtd
@@ -76,7 +76,9 @@ EXTRA_DIST = \
        EntryGroup.introspect \
        DomainBrowser.introspect \
        ServiceTypeBrowser.introspect \
-       ServiceBrowser.introspect
+       ServiceBrowser.introspect \
+       ssh.service \
+       example.service
 
 if ENABLE_DBUS
 avahi_daemon_SOURCES += dbus-protocol.c dbus-protocol.h
index 6892d51a624db361353b26922fc2107c518f8c18..9b2e89187b0f09acdd103b1b882bf5a1bbf20a36 100644 (file)
@@ -4,21 +4,26 @@
 
   <!-- $Id$ -->
 
-  <name replace-wildcards="yes">Remote Terminal on %h</name>
+  <name replace-wildcards="yes">Printer on %h</name>
 
   <service>
-    <type>_ssh._tcp</type>
-    <port>22</port>
+    <type>_printer._tcp</type>
+    <port>515</port>
   </service>
 
   <service>
-    <type>_telnet._tcp</type>
+    <type>_ipp._tcp</type>
+    <port>631</port>
+  </service>
+
+  <service>
+    <type>_uberprinter._tcp</type>
     <domain-name>local</domain-name>
     <host-name>quux.local</host-name>
-    <port>23</port>
-    <txt-record>foo=bar</txt-record>
-    <txt-record>waldo=buzz</txt-record>
-    <txt-record>another=record</txt-record>
+    <port>4711</port>
+    <txt-record>this=is</txt-record>
+    <txt-record>a=really</txt-record>
+    <txt-record>bad=example</txt-record>
   </service>
 
 </service-group>
diff --git a/avahi-daemon/ssh.service b/avahi-daemon/ssh.service
new file mode 100644 (file)
index 0000000..2f1bf7f
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
+<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
+<service-group>
+
+  <!-- $Id$ -->
+
+  <name replace-wildcards="yes">Remote Terminal on %h</name>
+
+  <service>
+    <type>_ssh._tcp</type>
+    <port>22</port>
+  </service>
+
+</service-group>