aboutsummaryrefslogtreecommitdiff
path: root/backup/udev
diff options
context:
space:
mode:
Diffstat (limited to 'backup/udev')
-rw-r--r--backup/udev/rules.d/99-max-autobackup.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/backup/udev/rules.d/99-max-autobackup.rules b/backup/udev/rules.d/99-max-autobackup.rules
new file mode 100644
index 0000000..e17bba0
--- /dev/null
+++ b/backup/udev/rules.d/99-max-autobackup.rules
@@ -0,0 +1,2 @@
1ACTION=="add", ENV{ID_PART_ENTRY_NUMBER}=="[0-9]", ENV{SYSTEMD_WANTS}="max-backup@$env{ID_SERIAL}\\x2dpart$env{ID_PART_ENTRY_NUMBER}.service"
2LABEL="External disk drive backup"
..