summaryrefslogtreecommitdiffstats
path: root/.local/bin/hddmnt
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/hddmnt')
-rwxr-xr-x.local/bin/hddmnt6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/hddmnt b/.local/bin/hddmnt
index 2f545ca..b2ccf77 100755
--- a/.local/bin/hddmnt
+++ b/.local/bin/hddmnt
@@ -1,5 +1,5 @@
-#!/bin/sh
+#!/usr/local/bin/dash
geli attach -k /root/geli_keys/hdd_ext.key /dev/da0 &&
- mount /dev/da0.eli /media &&
- chown -R jozan:jozan /media
+ mkdir -p "$HOME"/hdd &&
+ mount /dev/da0.eli "$HOME"/hdd