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