summaryrefslogtreecommitdiffstats
path: root/.local/bin/hddmnt
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/hddmnt')
-rwxr-xr-x.local/bin/hddmnt5
1 files changed, 5 insertions, 0 deletions
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