openwrt-packages/utils/prometheus/test.sh

4 lines
49 B
Bash

#!/bin/sh
prometheus --version 2>&1 | grep "$2"