diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2021-07-17 13:51:14 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2021-07-17 13:51:14 +0200 |
commit | 76c27e514add65a00cefce5492ea25ae3c09a013 (patch) | |
tree | 727b520f88a4412cab677c3de605722753c92c99 /.local/bin/hddmnt | |
parent | added zdoom conf (diff) | |
download | dotfiles-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 '')
-rwxr-xr-x | .local/bin/hddmnt | 6 |
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 |