aboutsummaryrefslogtreecommitdiff
path: root/systemd-zfs-partition-backup/udev
diff options
context:
space:
mode:
authorMax Christian Pohle2020-07-12 17:39:52 +0200
committerMax Christian Pohle2020-07-12 17:39:52 +0200
commitf42c57f1f180928991bee7e7914d3b325d318f56 (patch)
tree85e22adeb78a3f7ffd8cd36c53d3ce959913cdbe /systemd-zfs-partition-backup/udev
parent186a861ac7af7cf4650f4ecf43ee74197c1e6cad (diff)
downloadzfs-bash-tools-f42c57f1f180928991bee7e7914d3b325d318f56.tar.bz2
zfs-bash-tools-f42c57f1f180928991bee7e7914d3b325d318f56.zip
Fixed many issues
Diffstat (limited to 'systemd-zfs-partition-backup/udev')
-rw-r--r--systemd-zfs-partition-backup/udev/rules.d/90-systemd-zfs-partition-backup.rules3
1 files changed, 1 insertions, 2 deletions
diff --git a/systemd-zfs-partition-backup/udev/rules.d/90-systemd-zfs-partition-backup.rules b/systemd-zfs-partition-backup/udev/rules.d/90-systemd-zfs-partition-backup.rules
index 2a92960..3d05925 100644
--- a/systemd-zfs-partition-backup/udev/rules.d/90-systemd-zfs-partition-backup.rules
+++ b/systemd-zfs-partition-backup/udev/rules.d/90-systemd-zfs-partition-backup.rules
@@ -1,2 +1 @@
1ACTION=="add", ENV{ID_PART_ENTRY_NUMBER}=="[0-9]", ENV{SYSTEMD_WANTS}="systemd-zfs-partition-backup@$env{ID_SERIAL}\\x2dpart$env{ID_PART_ENTRY_NUMBER}.service" ACTION=="add", SUBSYSTEM=="block", ENV{DEVTYPE}=="partition", PROGRAM="/bin/systemd-escape --template systemd-zfs-partition-backup@.service $env{ID_MODEL}.$env{ID_SERIAL_SHORT}/$env{ID_FS_UUID}", ENV{SYSTEMD_WANTS}+="$result"
2LABEL="External disk drive backup"
..