packages/utils/smartmontools/test.sh
Maxim Storchak dc32fc0e47 smartmontools: update to 7.2
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2021-01-02 11:56:02 +02:00

5 lines
82 B
Bash

#!/bin/sh
case "$1" in
smartctl|smartd) "$1" -V | head -n 1 | grep "$2" ;;
esac