From 76e0da0ef07a921e27b12a447692d1e952d922f4 Mon Sep 17 00:00:00 2001
From: Max Christian Pohle
Date: Sat, 11 Jul 2020 14:11:07 +0200
Subject: Spring cleaning

---
 systemd-zfs-partition-backup/udev/rules.d/99-max-autobackup.rules | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 systemd-zfs-partition-backup/udev/rules.d/99-max-autobackup.rules

(limited to 'systemd-zfs-partition-backup/udev')

diff --git a/systemd-zfs-partition-backup/udev/rules.d/99-max-autobackup.rules b/systemd-zfs-partition-backup/udev/rules.d/99-max-autobackup.rules
new file mode 100644
index 0000000..e17bba0
--- /dev/null
+++ b/systemd-zfs-partition-backup/udev/rules.d/99-max-autobackup.rules
@@ -0,0 +1,2 @@
+ACTION=="add", ENV{ID_PART_ENTRY_NUMBER}=="[0-9]", ENV{SYSTEMD_WANTS}="max-backup@$env{ID_SERIAL}\\x2dpart$env{ID_PART_ENTRY_NUMBER}.service" 
+LABEL="External disk drive backup"
-- 
cgit v1.2.3