Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Merge pull request #46 from trueos/zol-rename
Browse files Browse the repository at this point in the history
Enable OpenZFS after conversion to nozfs flavor
  • Loading branch information
kmoore134 authored Jun 11, 2019
2 parents 9a36cb2 + b2a25dd commit 2e39724
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions update/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,11 @@ func checkZoLSwitch() {
"os-zol-buildworld:os-nozfs-buildworld",
)

// Enable the OpenZFS module at boot
_, cmderr := exec.Command("sysrc", "-f", "/boot/loader.conf", "openzfs_enable='YES'").Output()
if cmderr != nil {
log.Fatal("Failed enabling openzfs module")
}
}

for _, pkg := range pkgSlice {
Expand Down

0 comments on commit 2e39724

Please sign in to comment.