12 lines
204 B
Bash
Executable file
12 lines
204 B
Bash
Executable file
#!/bin/bash
|
|
|
|
/usr/sbin/sendmail -t <<ERRMAIL
|
|
To: $1
|
|
From: systemd <root@$HOSTNAME>
|
|
Subject: $2
|
|
Content-Transfer-Encoding: 8bit
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
$(btrfs scrub status "$3")
|
|
|
|
ERRMAIL
|