#!/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