aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/dracut/90zfs/module-setup.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/dracut/90zfs/module-setup.sh.in')
-rwxr-xr-xcontrib/dracut/90zfs/module-setup.sh.in17
1 files changed, 5 insertions, 12 deletions
diff --git a/contrib/dracut/90zfs/module-setup.sh.in b/contrib/dracut/90zfs/module-setup.sh.in
index 3b86c293d..19f1d1b16 100755
--- a/contrib/dracut/90zfs/module-setup.sh.in
+++ b/contrib/dracut/90zfs/module-setup.sh.in
@@ -23,20 +23,13 @@ installkernel() {
}
install() {
- for i in "90-zfs.rules" "69-vdev.rules" "60-zvol.rules"; do
- if ! dracut_install "@udevdir@/$i"; then
- dfatal "Failed to install udev rule: $i"
- exit 1
- fi
- done
+ inst_rules 90-zfs.rules 69-vdev.rules 60-zvol.rules
inst_multiple \
- @sbindir@/zgenhostid \
- @sbindir@/zfs \
- @sbindir@/zpool \
- @udevdir@/vdev_id \
- @udevdir@/zvol_id \
- @mounthelperdir@/mount.zfs \
+ zgenhostid \
+ zfs \
+ zpool \
+ mount.zfs \
hostid \
grep \
awk \