PERSONAL

WIKI HELP

Smart script

This script reads the status of the hard disks on my system (defined in array1). It looks for the word “PASSED” in the output of each run of the smartctl command, and reports a success/fail condition accordingly.