Update zfs.gentoo/zfs.lsb init script
[zfs.git] / dracut / 90zfs / check
1 #!/bin/bash
2
3 # We depend on udev-rules being loaded
4 [ "$1" = "-d" ] && exit 0
5
6 # Verify the zfs tool chain
7 which zpool >/dev/null 2>&1 || exit 1
8 which zfs >/dev/null 2>&1 || exit 1
9
10 exit 0