mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 08:07:24 +04:00
In actions-shared-workflows the version is now checked in test-version.sh, while test.sh is left for the generic tests. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
6 lines
82 B
Bash
6 lines
82 B
Bash
#!/bin/sh
|
|
|
|
case "$1" in
|
|
smartctl|smartd) "$1" -V | head -n 1 | grep "$2" ;;
|
|
esac
|