prometheus-node-exporter-lua: fixed small warning

This happens during compilation:

Enabling network
./etc/init.d/prometheus-node-exporter-lua: line 7: /lib/functions/network.sh: No such file or directory

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-01-27 18:55:31 -08:00
parent 53a7735233
commit 3aa009478a
No known key found for this signature in database
GPG key ID: 36D31CFA845F0E3B
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=prometheus-node-exporter-lua
PKG_VERSION:=2019.11.17
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com>
PKG_LICENSE:=Apache-2.0

View file

@ -4,13 +4,13 @@
START=60
USE_PROCD=1
. /lib/functions/network.sh
_log() {
logger -p daemon.info -t prometheus-node-exporter-lua "$@"
}
start_service() {
. /lib/functions/network.sh
local interface ipv6 port bind
config_load prometheus-node-exporter-lua.main