procd: run the mdns register outside the sub shell container

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42327
This commit is contained in:
John Crispin 2014-08-29 18:36:29 +00:00
parent 7f260ef6b7
commit c23e0ed691
1 changed files with 2 additions and 3 deletions

View File

@ -321,10 +321,10 @@ procd_add_mdns_service() {
json_select ..
}
_procd_add_mdns() {
procd_add_mdns() {
procd_open_data
json_add_object "mdns"
mdns_add_service $@
procd_add_mdns_service $@
json_close_object
procd_close_data
}
@ -364,5 +364,4 @@ _procd_wrapper \
procd_append_param \
procd_add_validation \
procd_set_config_changed \
procd_add_mdns \
procd_kill