[LEDE-DEV] [PATCH mdns] Load service JSONs from /etc/umdns/
Rafał Miłecki
zajec5 at gmail.com
Sat Feb 11 03:00:33 PST 2017
From: Rafał Miłecki <rafal at milecki.pl>
It matches recent project rename & uses directory that sholud be
persistent. Using /tmp/ could result in user having to setup JSONs after
every reboot.
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
service.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/service.c b/service.c
index 36d20c7..15f05f9 100644
--- a/service.c
+++ b/service.c
@@ -271,7 +271,7 @@ service_init_cb(struct ubus_request *req, int type, struct blob_attr *msg)
get_hostname();
vlist_update(&services);
- service_load("/tmp/run/mdns/*");
+ service_load("/etc/umdns/*");
blob_for_each_attr(cur, msg, rem) {
struct blob_attr *cur2;
--
2.11.0
More information about the Lede-dev
mailing list