mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-15 20:03:57 +02:00
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
|