Update 'freenas geli unlock.sh'

This commit is contained in:
2019-11-05 15:22:05 -05:00
parent ca73f117fd
commit b11aa0a8b4

View File

@@ -1,3 +1,11 @@
#/bin/sh
GELI_KEY_LOCATION="/mnt/geli/keys"
#GELI_KEY_LOCATION="/mnt/geli/keys"
GELI_KEY_LOCATION="/data/geli"
ZFS_POOL_NAMES=("media" "data-pool" "temp")
ZFS_MOUNT_POINT="/mnt"
# loop through the geli keys and try to unlock any partition
for key in GELI_KEY_LOCATION/*; do
echo "$key"
done