openwrtv3/package/system/procd/files
Karl Palsson 7a423c389a procd: mdns: Support txt values with spaces
Properly quote the arguments so that you can register a service with TXT
entries that contains spaces.

Example:
   procd_add_mdns myservice tcp 9999 "key=descriptive text field 1" \
         "another=something equally verbose"

Output before:
$ avahi-browse -r -v _myservice._tcp
_myservice._tcp      local
   hostname = [blah.local]
   address = [192.168.255.74]
   port = [9999]
   txt = ["verbose" "equally" "another=something" "1" "field" "text" "key=descriptive"]

Output now:
$ avahi-browse -r -v _myservice._tcp
_myservice._tcp      local
   hostname = [blah.local]
   address = [192.168.255.74]
   port = [9999]
   txt = ["another=something equally verbose" "key=descriptive text field 1"]

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-09-01 08:58:09 +02:00
..
hotplug-preinit.json procd: fix hotplug-preinit.json syntax 2017-08-18 18:43:54 +02:00
hotplug.json procd: fix hotplug.json syntax 2017-08-18 18:43:54 +02:00
procd.sh procd: mdns: Support txt values with spaces 2017-09-01 08:58:09 +02:00
reload_config procd: check output of "uci show" instead of raw config files in order to track uncommitted changes 2014-07-29 02:12:24 +00:00