Fixed indentation in the zfs.lunar init script.
[zfs.git] / etc / init.d / zfs.lsb
index 4e8f0cc..6c0a743 100644 (file)
@@ -13,6 +13,8 @@
 # Provides: zfs
 # Required-Start: $local_fs
 # Required-Stop: $local_fs
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 # Should-Stop:
 # Short-Description: Mount/umount the zfs filesystems
 # Description: ZFS is an advanced filesystem designed to simplify managing
@@ -48,6 +50,9 @@ start()
                return 4
        fi
 
+       # Delay until all required block devices are present.
+       udevadm settle
+
        # Load the zfs module stack
        /sbin/modprobe zfs