aboutsummaryrefslogtreecommitdiffstats
path: root/etc/zfs
diff options
context:
space:
mode:
Diffstat (limited to 'etc/zfs')
-rw-r--r--etc/zfs/zfs-functions.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/zfs/zfs-functions.in b/etc/zfs/zfs-functions.in
index 043f1b073..c2ce6157c 100644
--- a/etc/zfs/zfs-functions.in
+++ b/etc/zfs/zfs-functions.in
@@ -96,8 +96,8 @@ ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
# Sensible defaults
ZFS_MOUNT='yes'
ZFS_UNMOUNT='yes'
-
-export ZFS ZED ZPOOL ZPOOL_CACHE ZFS_MOUNT ZFS_UNMOUNT
+ZFS_SHARE='yes'
+ZFS_UNSHARE='yes'
# Source zfs configuration, overriding the defaults
if [ -f @initconfdir@/zfs ]; then
@@ -106,6 +106,8 @@ fi
# ----------------------------------------------------
+export ZFS ZED ZPOOL ZPOOL_CACHE ZFS_MOUNT ZFS_UNMOUNT ZFS_SHARE ZFS_UNSHARE
+
zfs_action()
{
local MSG="$1"; shift