From 1a6e9b01b1f9032c92fb9c17d4aa4348666b24ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Sat, 11 Feb 2017 12:00:33 +0100 Subject: [PATCH] Load service JSONs from /etc/umdns/ MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Acked-by: John Crispin --- 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.25.1