File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ ConditionKernelCommandLine=bootfs.rollback
10
10
# ${BOOTFS} should have been set by zfs-env-bootfs.service
11
11
Type=oneshot
12
12
ExecStartPre=/bin/sh -c 'test -n "${BOOTFS}"'
13
- ExecStart=/bin/sh -c '. /lib/dracut-lib.sh; SNAPNAME="$(getarg bootfs.rollback)"; /sbin /zfs rollback -Rf "${BOOTFS}@${SNAPNAME:-%v}"'
13
+ ExecStart=/bin/sh -c '. /lib/dracut-lib.sh; SNAPNAME="$(getarg bootfs.rollback)"; @sbindir@ /zfs rollback -Rf "${BOOTFS}@${SNAPNAME:-%v}"'
14
14
RemainAfterExit=yes
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ ConditionKernelCommandLine=bootfs.snapshot
10
10
# ${BOOTFS} should have been set by zfs-env-bootfs.service
11
11
Type=oneshot
12
12
ExecStartPre=/bin/sh -c 'test -n "${BOOTFS}"'
13
- ExecStart=-/bin/sh -c '. /lib/dracut-lib.sh; SNAPNAME="$(getarg bootfs.snapshot)"; /sbin /zfs snapshot "${BOOTFS}@${SNAPNAME:-%v}"'
13
+ ExecStart=-/bin/sh -c '. /lib/dracut-lib.sh; SNAPNAME="$(getarg bootfs.snapshot)"; @sbindir@ /zfs snapshot "${BOOTFS}@${SNAPNAME:-%v}"'
14
14
RemainAfterExit=yes
You can’t perform that action at this time.
0 commit comments