#!/bin/sh
get_smart() {
smartctl -H "$1"
}
get_smart_status() {
smartctl -H "$1" 2>/dev/null >/dev/null
echo $?