openwrt-packages/net/https-dns-proxy/test.sh

4 lines
81 B
Bash

#!/bin/sh
/etc/init.d/"$1" version 2>&1 | grep "$2" && "$1" -V 2>&1 | grep "$2"