diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/hddmnt | 5 | ||||
-rwxr-xr-x | .local/bin/hddumnt | 4 |
2 files changed, 9 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 diff --git a/.local/bin/hddumnt b/.local/bin/hddumnt new file mode 100755 index 0000000..0d0f6a0 --- /dev/null +++ b/.local/bin/hddumnt @@ -0,0 +1,4 @@ +#!/bin/sh + +umount /dev/da0.eli && + geli detach da0.eli |