diff options
Diffstat (limited to 'systemd-zfs-partition-backup/udev')
-rw-r--r-- | systemd-zfs-partition-backup/udev/rules.d/99-max-autobackup.rules | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ | |||
1 | ACTION=="add", ENV{ID_PART_ENTRY_NUMBER}=="[0-9]", ENV{SYSTEMD_WANTS}="max-backup@$env{ID_SERIAL}\\x2dpart$env{ID_PART_ENTRY_NUMBER}.service" | ||
2 | LABEL="External disk drive backup" | ||