[source] umdns: remove superfluous include in init script

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


jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/e78a641f526708ce1df5ce661cfabd7de3e6e295

commit e78a641f526708ce1df5ce661cfabd7de3e6e295
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
-
 START=80
 
 USE_PROCD=1



More information about the lede-commits mailing list