summaryrefslogtreecommitdiffstats
path: root/.local/bin/hddumnt
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-31 12:49:01 +0100
committerJoe <rbo@gmx.us>2023-12-31 12:49:01 +0100
commit764bac8d97bdac4610f216347f75afa79abd26c7 (patch)
tree6de098bc2cc0845d88508de6cb6d6d05448701c1 /.local/bin/hddumnt
parentfsyh (diff)
downloaddotfiles-bsd-764bac8d97bdac4610f216347f75afa79abd26c7.tar.gz
dotfiles-bsd-764bac8d97bdac4610f216347f75afa79abd26c7.tar.bz2
dotfiles-bsd-764bac8d97bdac4610f216347f75afa79abd26c7.tar.xz
dotfiles-bsd-764bac8d97bdac4610f216347f75afa79abd26c7.tar.zst
dotfiles-bsd-764bac8d97bdac4610f216347f75afa79abd26c7.zip
up
Diffstat (limited to '.local/bin/hddumnt')
-rwxr-xr-x.local/bin/hddumnt6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/hddumnt b/.local/bin/hddumnt
index 75c6570..9a5319b 100755
--- a/.local/bin/hddumnt
+++ b/.local/bin/hddumnt
@@ -6,13 +6,13 @@ mountpoint="$HOME/$devname"
case "$(hostname -s)" in
mother|po-rbo)
if ! doas umount "$mountpoint"; then
- notify-send -u critical 'exthdd' " failed to dismount $mountpoint"
+ notify-send -u critical 'exthdd' " failed to dismount <b>$mountpoint</b>"
fi
if ! doas cryptsetup close "$devname"; then
- notify-send -u critical 'exthdd' " failed to close crypt dev $devname"
+ notify-send -u critical 'exthdd' " failed to close crypt dev <b>$devname</b>"
fi
rmdir "$mountpoint"
- notify-send -t 5000 'exthdd' " crypt dev dismounted from $mountpoint"
+ notify-send -t 5000 'exthdd' " crypt dev dismounted from <b>$mountpoint</b>"
;;
mars)
if ! mount | grep -F /dev/da0p1; then