[LEDE-DEV] [PATCH mdns] Load service JSONs from /etc/umdns/
John Crispin
john at phrozen.org
Sun Feb 12 21:31:45 PST 2017
On 11/02/2017 12:00, Rafał Miłecki wrote:
> 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>
Acked-by: John Crispin <john at phrozen.org>
> ---
> 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;
>
More information about the Lede-dev
mailing list