From d3ad9bc429f7ea53adceda902cdd5db5ccc8005d Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 16 Nov 2020 16:00:32 +0100 Subject: New scripts to mount geli encrypted devices --- .local/bin/hddmnt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 .local/bin/hddmnt (limited to '.local/bin/hddmnt') diff --git a/.local/bin/hddmnt b/.local/bin/hddmnt new file mode 100755 index 0000000..2f545ca --- /dev/null +++ b/.local/bin/hddmnt @@ -0,0 +1,5 @@ +#!/bin/sh + +geli attach -k /root/geli_keys/hdd_ext.key /dev/da0 && + mount /dev/da0.eli /media && + chown -R jozan:jozan /media -- cgit v1.2.3