From 47eac87bd01d3ef511c0ad6f1f608a39334ea267 Mon Sep 17 00:00:00 2001 From: jgaunt Date: Thu, 9 Jan 2020 15:08:27 -0500 Subject: [PATCH] Delete 'freenas geli unlock.sh' --- freenas geli unlock.sh | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 freenas geli unlock.sh diff --git a/freenas geli unlock.sh b/freenas geli unlock.sh deleted file mode 100644 index b047bb9..0000000 --- a/freenas geli unlock.sh +++ /dev/null @@ -1,14 +0,0 @@ -#/bin/bash - -#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 - for disk in /dev/gptid/*; do - geli attach -p -k ${key} ${disk} - done -done -