openwrt: add multiple sensors to avahi config file

This commit is contained in:
Bart Van Der Meerssche 2010-10-13 10:28:37 +02:00
parent 23b3b2f83e
commit c8e1cd6975
1 changed files with 5 additions and 3 deletions

View File

@ -1,12 +1,14 @@
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">Sensor 0123456789abcdef0123456789abcde1 on %h</name>
<name replace-wildcards="yes">Flukso RESTful API on %h</name>
<service>
<type>_flukso._tcp</type>
<port>8080</port>
<txt-record>id=0123456789abcdef0123456789abcde1</txt-record>
<txt-record>path=/sensor/0123456789abcdef0123456789abcde1</txt-record>
<txt-record>id1=0123456789abcdef0123456789abcde0</txt-record>
<txt-record>id2=0123456789abcdef0123456789abcde1</txt-record>
<txt-record>id3=0123456789abcdef0123456789abcde2</txt-record>
<txt-record>path=/sensor</txt-record>
<txt-record>version=1.0</txt-record>
</service>
</service-group>