openwrt-packages/utils/logrotate/test.sh

4 lines
48 B
Bash

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