7 # BEFORE: FILESYSTEMS var
12 desc="Mount and share ZFS datasets"
15 start_postcmd="zfs_poststart"
17 required_modules="zfs"
21 if [ `$SYSCTL_N security.jail.mount_allowed` -eq 1 ]; then
30 if [ ! -r /etc/zfs/exports ]; then
31 touch /etc/zfs/exports
37 if [ `$SYSCTL_N security.jail.jailed` -eq 1 ]; then
46 # Some of the keys to decrypt datasets are potentially stored on ZFS
47 # datasets that just got mounted. Let's try to load those keys and
49 if checkyesno zfskeys_enable; then
50 /etc/rc.d/zfskeys start
57 if [ `$SYSCTL_N security.jail.mount_allowed` -eq 1 ]; then
70 if [ `$SYSCTL_N security.jail.jailed` -eq 1 ]; then