From 381dc718a9a15c8feafd0e9218ac2c87bb759697 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 29 Aug 2014 18:36:29 +0000 Subject: procd: run the mdns register outside the sub shell container Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42327 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/system/procd/files/procd.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'package/system/procd') 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 -- cgit v1.2.3