blob: 913d863eb7d257b5237a49f691b6ed8cc13ea3ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
# shellcheck shell=busybox
case "$PKG_NAME" in
prometheus-node-exporter-lua-openwrt)
# call ubus outside scape, so skip the check
exit 0
;;
*)
prometheus-node-exporter-lua | grep node_scrape_collector_success
;;
esac
|