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