mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-29 12:29:35 +03:00
11 lines
189 B
Plaintext
11 lines
189 B
Plaintext
|
#!/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
|