diff options
author | Max Christian Pohle | 2020-07-12 17:39:52 +0200 |
---|---|---|
committer | Max Christian Pohle | 2020-07-12 17:39:52 +0200 |
commit | f42c57f1f180928991bee7e7914d3b325d318f56 (patch) | |
tree | 85e22adeb78a3f7ffd8cd36c53d3ce959913cdbe /systemd-zfs-partition-backup/udev | |
parent | 186a861ac7af7cf4650f4ecf43ee74197c1e6cad (diff) | |
download | zfs-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.rules | 3 |
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 @@ | |||
1 | ACTION=="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" | |
2 | LABEL="External disk drive backup" | ||