#! /bin/sh
set -e

if [ -e /proc/mdstat ] && grep -q ^md /proc/mdstat && $(udpkg --print-os) != "kfreebsd"
then
        apt-install zfs-initramfs
fi
