From 650b24cba8f5f2da9481b2349b9ed3a419e4e7ab Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 30 Jul 2005 19:17:00 +0000 Subject: [PATCH] * don't install example.service * 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 | 6 ++++-- avahi-daemon/example.service | 21 +++++++++++++-------- avahi-daemon/ssh.service | 14 ++++++++++++++ 3 files changed, 31 insertions(+), 10 deletions(-) create mode 100644 avahi-daemon/ssh.service diff --git a/avahi-daemon/Makefile.am b/avahi-daemon/Makefile.am index b56aa55..62c2cd3 100644 --- a/avahi-daemon/Makefile.am +++ b/avahi-daemon/Makefile.am @@ -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 diff --git a/avahi-daemon/example.service b/avahi-daemon/example.service index 6892d51..9b2e891 100644 --- a/avahi-daemon/example.service +++ b/avahi-daemon/example.service @@ -4,21 +4,26 @@ - Remote Terminal on %h + Printer on %h - _ssh._tcp - 22 + _printer._tcp + 515 - _telnet._tcp + _ipp._tcp + 631 + + + + _uberprinter._tcp local quux.local - 23 - foo=bar - waldo=buzz - another=record + 4711 + this=is + a=really + bad=example diff --git a/avahi-daemon/ssh.service b/avahi-daemon/ssh.service new file mode 100644 index 0000000..2f1bf7f --- /dev/null +++ b/avahi-daemon/ssh.service @@ -0,0 +1,14 @@ + + + + + + + Remote Terminal on %h + + + _ssh._tcp + 22 + + + -- 2.39.5