git://git.camperquake.de
/
zfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
341b5f1
)
Check for "udevadm settle" vs "udevsettle"
author
Fajar A. Nugraha
<github@fajar.net>
Thu, 7 Jul 2011 07:22:19 +0000
(14:22 +0700)
committer
Brian Behlendorf
<behlendorf1@llnl.gov>
Fri, 8 Jul 2011 18:43:16 +0000
(11:43 -0700)
RHEL5 does not have udevadm, so fix initscript accordingly
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #315
etc/init.d/zfs.redhat
patch
|
blob
|
history
diff --git
a/etc/init.d/zfs.redhat
b/etc/init.d/zfs.redhat
index
c1f2fb8
..
d3475f0
100644
(file)
--- 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