openwrt-packages/net/irtt/test.sh

4 lines
64 B
Bash

#!/bin/sh
/usr/bin/"${1}" version 2>/dev/null | grep -F "${2}"