aboutsummaryrefslogtreecommitdiffstats
path: root/etc/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/init.d')
-rw-r--r--etc/init.d/zfs.redhat6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/init.d/zfs.redhat b/etc/init.d/zfs.redhat
index c1f2fb833..d3475f09d 100644
--- a/etc/init.d/zfs.redhat
+++ b/etc/init.d/zfs.redhat
@@ -77,7 +77,11 @@ start()
fi
# Delay until all required block devices are present.
- udevadm settle
+ if [ -x /sbin/udevadm ]; then
+ /sbin/udevadm settle
+ elif [ -x /sbin/udevsettle ]; then
+ /sbin/udevsettle
+ fi
# load kernel module infrastructure
if ! grep -q zfs /proc/modules ; then