openwrt-packages/net/pbr/test.sh

4 lines
52 B
Bash

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