Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
enoch85 committed May 1, 2020
1 parent 6e43f65 commit f2c0a76
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions static/change-to-zfs-mount-generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
# The intention here is to make the import process more robust, and less prune to fail
# Esentially, changing from źfs-mount.service' to 'zfs-mount-generator' which by many has been working better.

#### ####
#### WIP ####
#### ####

# shellcheck disable=2034,2059
true
# shellcheck source=lib.sh
Expand All @@ -26,6 +22,13 @@ root_check
check_distro_version
check_multiverse

# ZFS needs to be installed
if ! is_this_installed libzfs2linux
then
msg_box "This script is only intened to be run if you have ZFS installed"
exit 1
fi

POOLNAME=ncdata

if [ -z "$POOLNAME" ]
Expand Down Expand Up @@ -72,10 +75,8 @@ fi
# Enable and disable services
# NEEDED:
systemctl enable zfs-import-cache
systemctl enable zfs-import.target
# DISABLE OLD METHOD
systemctl disable zfs-mount
systemctl disable zfs.target
# FOR ZEDLET
check_command systemctl enable zfs-zed.service
check_command systemctl enable zfs.target
Expand Down

1 comment on commit f2c0a76

@enoch85
Copy link
Member Author

@enoch85 enoch85 commented on f2c0a76 May 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just found the original PR here: openzfs/zfs#7329

Please sign in to comment.