14 lines
216 B
Bash
Executable file
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
|
|
|