2 Description=Snapshot bootfs just before it is mounted
3 Requisite=zfs-import.target
4 After=zfs-import.target dracut-pre-mount.service
5 Before=dracut-mount.service
7 ConditionKernelCommandLine=bootfs.snapshot
8 ConditionEnvironment=BOOTFS
12 ExecStart=-/bin/sh -c '. /lib/dracut-lib.sh; SNAPNAME="$(getarg bootfs.snapshot)"; exec @sbindir@/zfs snapshot "$BOOTFS@${SNAPNAME:-%v}"'