summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-08-29 18:36:29 +0000
committerJohn Crispin <john@openwrt.org>2014-08-29 18:36:29 +0000
commitc23e0ed691bb8b36742fe996bc75fe94d7d03be2 (patch)
treec66efccb7ba383606d5bdb817427fbd2de57b136 /package
parent7f260ef6b7b9b7031b6a24ba5195a78472e04be0 (diff)
downloadmtk-20170518-c23e0ed691bb8b36742fe996bc75fe94d7d03be2.zip
mtk-20170518-c23e0ed691bb8b36742fe996bc75fe94d7d03be2.tar.gz
mtk-20170518-c23e0ed691bb8b36742fe996bc75fe94d7d03be2.tar.bz2
procd: run the mdns register outside the sub shell container
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42327
Diffstat (limited to 'package')
-rw-r--r--package/system/procd/files/procd.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh
index a92d365..d71c3cf 100644
--- a/package/system/procd/files/procd.sh
+++ b/package/system/procd/files/procd.sh
@@ -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