From: Rafał Miłecki Date: Sat, 11 Feb 2017 11:00:33 +0000 (+0100) Subject: Load service JSONs from /etc/umdns/ X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1a6e9b01b1f9032c92fb9c17d4aa4348666b24ef;p=oweals%2Fmdnsd.git Load service JSONs from /etc/umdns/ 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 --- 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;