From 3aa009478aa6a7562688a413e7e54318969873a3 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 27 Jan 2020 18:55:31 -0800 Subject: [PATCH] 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 --- utils/prometheus-node-exporter-lua/Makefile | 2 +- .../files/etc/init.d/prometheus-node-exporter-lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/prometheus-node-exporter-lua/Makefile b/utils/prometheus-node-exporter-lua/Makefile index 4a4f6e4a3c..06b28ee9de 100644 --- a/utils/prometheus-node-exporter-lua/Makefile +++ b/utils/prometheus-node-exporter-lua/Makefile @@ -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 PKG_LICENSE:=Apache-2.0 diff --git a/utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua b/utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua index a2b0e229e7..582e211615 100644 --- a/utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua +++ b/utils/prometheus-node-exporter-lua/files/etc/init.d/prometheus-node-exporter-lua @@ -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 -- 2.30.2