From 8854fa0f8a831264ed815b3615038dec89c6f632 Mon Sep 17 00:00:00 2001 From: joe Date: Wed, 1 Oct 2025 22:33:48 +0200 Subject: up --- .local/bin/hddumnt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '.local/bin/hddumnt') diff --git a/.local/bin/hddumnt b/.local/bin/hddumnt index deba4ed..1b5da66 100755 --- a/.local/bin/hddumnt +++ b/.local/bin/hddumnt @@ -6,25 +6,25 @@ mountpoint="$HOME/$devname" case "$(hostname -s)" in mother|po-rbo) if ! doas umount "$mountpoint"; then - herbe " failed to dismount $mountpoint" + herbe " failed to dismount $mountpoint" & fi if ! doas cryptsetup close "$devname"; then - herbe " failed to close crypt dev $devname" + herbe " failed to close crypt dev $devname" & fi rmdir "$mountpoint" - herbe " crypt dev dismounted from $mountpoint" + herbe " crypt dev dismounted from $mountpoint" & ;; mars) if ! mount | grep -F /dev/da0p1; then - herbe ' HDD not mounted' + herbe ' HDD not mounted' & exit 1 fi if ! umount /dev/da0p1.eli; then - herbe ' failed to dismount hdd' + herbe ' failed to dismount hdd' & exit 1 fi geli detach da0p1.eli rmdir "$HOME"/hdd - herbe ' hdd dismounted from ~/hdd' + herbe ' hdd dismounted from ~/hdd' & ;; esac -- cgit v1.2.3