This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# --- zfs-dkms-fix.sh --- | |
# | |
# This script automates the process of fixing ZFS after a kernel | |
# update. See: https://github.com/zfsonlinux/zfs/issues/3801 | |
################################################################### | |
# Get the current ZFS and SPL module versions | |
modversion=$(dkms status | cut -d , -f 2 | tail -n 1 | xargs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# | |
# debian-stretch-zfs-root.sh V1.00 | |
# | |
# Install Debian GNU/Linux 9 Stretch to a native ZFS root filesystem | |
# | |
# (C) 2017 Hajo Noerenberg | |
# | |
# | |
# http://www.noerenberg.de/ |