summaryrefslogtreecommitdiffstats
path: root/.local/bin/hddumnt
diff options
context:
space:
mode:
authorjoe <rbo@gmx.us>2025-10-24 13:54:18 +0200
committerjoe <rbo@gmx.us>2025-10-24 13:54:18 +0200
commite70c72b13177830df833c949dd7833394cbffc4f (patch)
treea642772a23d7fb53da1f14aaa9b624d60cf841f0 /.local/bin/hddumnt
parentup (diff)
downloaddotfiles-bsd-e70c72b13177830df833c949dd7833394cbffc4f.tar.gz
dotfiles-bsd-e70c72b13177830df833c949dd7833394cbffc4f.tar.bz2
dotfiles-bsd-e70c72b13177830df833c949dd7833394cbffc4f.tar.xz
dotfiles-bsd-e70c72b13177830df833c949dd7833394cbffc4f.tar.zst
dotfiles-bsd-e70c72b13177830df833c949dd7833394cbffc4f.zip
removed more icons
Diffstat (limited to '')
-rwxr-xr-x.local/bin/hddumnt12
1 files changed, 6 insertions, 6 deletions
diff --git a/.local/bin/hddumnt b/.local/bin/hddumnt
index 1b5da66..d4034ae 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