homeserver/roles/mgrote.smart/templates/smartctl_mail.sh

4 lines
94 B
Bash

#!/bin/bash
for i in {a..z}; do
{{ smart_smartctl_mail_pfad_smartctl }} /dev/sd$i -a
done