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>
master
Jo-Philipp Wich 8 years ago
parent 1fe41c4089
commit 6db1d13084
  1. 2
      package/network/services/umdns/files/umdns.init

@ -1,8 +1,6 @@
#!/bin/sh /etc/rc.common #!/bin/sh /etc/rc.common
# Copyright (c) 2014 OpenWrt.org # Copyright (c) 2014 OpenWrt.org
. /lib/functions/network.sh
START=80 START=80
USE_PROCD=1 USE_PROCD=1

Loading…
Cancel
Save