Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch

This commit is contained in:
Brian Behlendorf 2010-01-08 10:25:37 -08:00
commit 6dba7c4354
1 changed files with 8 additions and 2 deletions

View File

@ -49,6 +49,7 @@ RMMOD=${RMMOD:-/sbin/rmmod}
INFOMOD=${INFOMOD:-/sbin/modinfo}
LOSETUP=${LOSETUP:-/sbin/losetup}
SYSCTL=${SYSCTL:-/sbin/sysctl}
UDEVADM=${UDEVADM:-/sbin/udevadm}
die() {
echo -e "${PROG}: $1" >&2
@ -215,8 +216,13 @@ udev_setup() {
cp -f ${SRC_PATH} ${DST_PATH}
udevadm trigger
udevadm settle
if [ -f ${UDEVADM} ]; then
${UDEVADM} trigger
${UDEVADM} settle
else
/sbin/udevtrigger
/sbin/udevsettle
fi
return 0
}