[source] umdns: remove superfluous include in init script

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 1 16:29:38 PDT 2017

jow pushed a commit to source.git, branch master:

commit 6db1d13084e0d5d920cb7219b4ce89ebe2362798
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Fri Jun 2 01:26:20 2017 +0200

    umdns: remove superfluous include in init script
    The umdns init script includes function/network.sh globally, outside of any
    service procedure. This causes init script activation to fail in buildroot
    and IB context if umdns is set to builtin.
    Additionally, the network.sh helper is not actually used.
    Drop the entire include in order to repair init script activation in build
    host context. Fixes FS#658.
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
 package/network/services/umdns/files/umdns.init | 2 --
 1 file changed, 2 deletions(-)

diff --git a/package/network/services/umdns/files/umdns.init b/package/network/services/umdns/files/umdns.init
index 627930b..c0b8ced 100644
--- a/package/network/services/umdns/files/umdns.init
+++ b/package/network/services/umdns/files/umdns.init
@@ -1,8 +1,6 @@
 #!/bin/sh /etc/rc.common
 # Copyright (c) 2014 OpenWrt.org
-. /lib/functions/network.sh

More information about the lede-commits mailing list