Updated init scripts to enable automatic sharing of ZFS datasets.
[zfs.git] / etc / init.d / zfs.lsb
index c342a6b..ce541a9 100644 (file)
@@ -74,6 +74,10 @@ start()
                log_begin_msg "Mounting ZFS filesystems"
                $ZFS mount -a
                log_end_msg $?
+
+               log_begin_msg "Exporting ZFS filesystems"
+               $ZFS share -a
+               log_end_msg $?
        fi
        
        touch $LOCKFILE