mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-12 19:20:28 +03:00
Check for "udevadm settle" vs "udevsettle"
RHEL5 does not have udevadm, so fix initscript accordingly Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #315
This commit is contained in:
parent
341b5f1d4c
commit
3af2ce4d68
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user