aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-08-29 18:36:29 +0000
committerJohn Crispin <blogic@openwrt.org>2014-08-29 18:36:29 +0000
commit381dc718a9a15c8feafd0e9218ac2c87bb759697 (patch)
tree8f1c2ee47f6c82837ec5e3ba53d814d61001b489 /package/system
parent23bf27fad70c147a5acb5be53559121d1317bc83 (diff)
downloadupstream-381dc718a9a15c8feafd0e9218ac2c87bb759697.tar.gz
upstream-381dc718a9a15c8feafd0e9218ac2c87bb759697.tar.bz2
upstream-381dc718a9a15c8feafd0e9218ac2c87bb759697.zip
procd: run the mdns register outside the sub shell container
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42327 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system')
-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 a92d36513b..d71c3cfc0a 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