summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-06-02 01:26:20 +0200
committerJo-Philipp Wich <jo@mein.io>2017-06-02 01:29:51 +0200
commite78a641f526708ce1df5ce661cfabd7de3e6e295 (patch)
tree19bf2ad91f41ced01b3883e218dbfea67985aed3
parentcdfc6788a9fc7c0a4b90ab92ab302e0a2506cc54 (diff)
downloadmtk-20170518-e78a641f526708ce1df5ce661cfabd7de3e6e295.zip
mtk-20170518-e78a641f526708ce1df5ce661cfabd7de3e6e295.tar.gz
mtk-20170518-e78a641f526708ce1df5ce661cfabd7de3e6e295.tar.bz2
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@mein.io>
-rw-r--r--package/network/services/umdns/files/umdns.init2
1 files changed, 0 insertions, 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