diff --git a/freenas geli unlock.sh b/freenas geli unlock.sh index 48adf09..7183a40 100644 --- a/freenas geli unlock.sh +++ b/freenas geli unlock.sh @@ -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 \ No newline at end of file