diff options
author | Max Christian Pohle | 2020-07-11 14:11:07 +0200 |
---|---|---|
committer | Max Christian Pohle | 2020-07-11 14:11:07 +0200 |
commit | 76e0da0ef07a921e27b12a447692d1e952d922f4 (patch) | |
tree | 656932887f776bb0f838ce86ab8d4d16f430b097 /systemd-zfs-partition-backup/udev | |
parent | d9804a00d1d2164f5c25d743d18bd4f6a8776f31 (diff) | |
download | zfs-bash-tools-76e0da0ef07a921e27b12a447692d1e952d922f4.tar.bz2 zfs-bash-tools-76e0da0ef07a921e27b12a447692d1e952d922f4.zip |
Spring cleaning
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" | ||