projects
/
oweals
/
mdnsd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95d8e0d
)
Load service JSONs from /etc/umdns/
author
Rafał Miłecki
<rafal@milecki.pl>
Sat, 11 Feb 2017 11:00:33 +0000
(12:00 +0100)
committer
Rafał Miłecki
<rafal@milecki.pl>
Mon, 13 Feb 2017 06:32:42 +0000
(07:32 +0100)
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@milecki.pl>
Acked-by: John Crispin <john@phrozen.org>
service.c
patch
|
blob
|
history
diff --git
a/service.c
b/service.c
index 36d20c74830ed783b7ca272c63977b2dd93a4064..15f05f95d53029151186bf9bec989d3c09416d42 100644
(file)
--- 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/u
mdns/*");
blob_for_each_attr(cur, msg, rem) {
struct blob_attr *cur2;