]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update zfs-functions.in
authorallen-4 <65494904+allen-4@users.noreply.github.com>
Fri, 29 May 2020 19:01:57 +0000 (15:01 -0400)
committerGitHub <noreply@github.com>
Fri, 29 May 2020 19:01:57 +0000 (12:01 -0700)
commit4d829ad9c128d7769a1552d3170d2a66b8c6c7d4
tree916a5be1ea41ddcff979056af09a05ec6ff469dd
parenta1ba12092744ce4da5ffb8061223cc61c9b8b4f8
Update zfs-functions.in

The init.d zfs-share script does not perform the intended
action without having a variable set for ZFS_SHARE and
ZFS_UNSHARE

Assign default values to ZFS_SHARE and ZFS_UNSHARE. Export
the environment variables after sourcing the configuration
file.

Reviewed-by: Richard Yao <ryao@gentoo.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Signed-off-by: Allen Holl <allen.m.holl@gmail.com>
Closes #10341
Closes #10382
etc/zfs/zfs-functions.in