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>
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
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