Update 'freenas geli unlock.sh'
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user