mkbackup-btrfs/files/usr/lib/systemd/scripts/systemd-btrfs-email

13 lines
204 B
Text
Raw Normal View History

2019-03-05 13:20:31 +01:00
#!/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