deblan-report/scripts/smart

14 lines
216 B
Bash
Executable File

#!/bin/sh
. ./helpers/template
. ./helpers/smart
for device in $SMART_DEVICES; do
export device
export result="$(get_smart "$device")"
export status="$(get_smart_status "$device")"
render_template smart
done