summaryrefslogtreecommitdiffstats
path: root/.local/bin/hddmnt
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2021-07-17 13:51:14 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2021-07-17 13:51:14 +0200
commit76c27e514add65a00cefce5492ea25ae3c09a013 (patch)
tree727b520f88a4412cab677c3de605722753c92c99 /.local/bin/hddmnt
parentadded zdoom conf (diff)
downloaddotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.tar.gz
dotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.tar.bz2
dotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.tar.xz
dotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.tar.zst
dotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.zip
fbsd 13 update
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