commit 4879b0a10054ec892c4c210a483af8434a4b1cd2 parent b116a619e0c7a1b9f4af55b7090394f82c3e361c Author: hhvn <hayden@haydenvh.com> Date: Fri, 19 Feb 2021 19:29:29 +0000 .scripts/custom/mount .scripts/custom/umount: make sshfs mounting quicker Diffstat:
A | .scripts/custom/mount | | | 3 | +++ |
A | .scripts/custom/umount | | | 4 | ++++ |
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/.scripts/custom/mount b/.scripts/custom/mount @@ -0,0 +1,3 @@ +#!/bin/sh + +sshfs -o allow_other local:/srv/zfs $HOME/general diff --git a/.scripts/custom/umount b/.scripts/custom/umount @@ -0,0 +1,4 @@ +#!/bin/sh + +doas pkill sshfs +doas umount -l $HOME/general