zfs/dracut/90zfs/check

11 lines
189 B
Bash
Executable File

#!/bin/bash
# We depend on udev-rules being loaded
[ "$1" = "-d" ] && exit 0
# Verify the zfs tool chain
which zpool >/dev/null 2>&1 || exit 1
which zfs >/dev/null 2>&1 || exit 1
exit 0