mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user