procd: run the mdns register outside the sub shell container
authorJohn Crispin <john@openwrt.org>
Fri, 29 Aug 2014 18:36:29 +0000 (18:36 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 29 Aug 2014 18:36:29 +0000 (18:36 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42327

package/system/procd/files/procd.sh

index a92d36513bccc1ed4e73e27ed6f7a2a69a5d030f..d71c3cfc0a472f593a5731d697f9e584a211c190 100644 (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