#!/bin/bash # We depend on udev-rules being loaded [ "$1" = "-d" ] && exit 0 # if we don't have dmraid installed on the host system, no point # in trying to support it in the initramfs. which btrfs >/dev/null 2>&1 || exit 1 exit 0