Updated init scripts to enable automatic sharing of ZFS datasets.
[zfs.git] / etc / init.d / zfs.redhat
index 3f34f2f..c1f2fb8 100644 (file)
@@ -87,6 +87,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: "