full path to vcgencmd
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
set -eu
|
||||
|
||||
VCGEN="$(command -v vcgencmd)"
|
||||
VCGEN="$(/opt/vc/bin/vcgencmd)"
|
||||
METRICS_DIR="/tmp/textfile-collector"
|
||||
METRICS_FILE="${METRICS_DIR}/raspberrypi-metrics.prom"
|
||||
TMP_FILE="${METRICS_FILE}.tmp"
|
||||
|
||||
Reference in New Issue
Block a user