X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=etc%2Finit.d%2Fzfs.redhat;h=d3475f09d28baad56c294fcb35600df815e25b29;hb=3af2ce4d6883ab96814fb1d0bc01368bb06c5343;hp=3f34f2febb145bbbf2fe1ba939132c602e8ca156;hpb=2a005961a48e748632e96272915192dab6ce9401;p=zfs.git diff --git a/etc/init.d/zfs.redhat b/etc/init.d/zfs.redhat index 3f34f2f..d3475f0 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 @@ -87,6 +91,8 @@ start() action $"Mounting automounted ZFS filesystems: " $ZFS mount -a || return 152 + action $"Exporting ZFS filesystems: " $ZFS share -a || return 153 + # Read fstab, try to mount zvols ignoring error read_fstab "^/dev/(zd|zvol)" template=$"Mounting volume %s registered in fstab: "