summaryrefslogtreecommitdiffstats
path: root/.local/bin/hddmnt
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/hddmnt
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/hddmnt')
-rwxr-xr-x.local/bin/hddmnt6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/hddmnt b/.local/bin/hddmnt
index 33d0ebf..8ede464 100755
--- a/.local/bin/hddmnt
+++ b/.local/bin/hddmnt
@@ -11,15 +11,15 @@ case "$(hostname -s)" in
exit 1
fi
if ! doas cryptsetup open "$dev" "$devname"; then
- notify-send -u critical 'exthdd' " failed to uncrypt dev $dev"
+ notify-send -u critical 'exthdd' " failed to uncrypt dev <b>$dev</b>"
exit 1
fi
mkdir -p "$mountpoint"
if ! doas mount /dev/mapper/"$devname" "$mountpoint"; then
- notify-send -u critical 'exthdd' " failed to mount dev $dev"
+ notify-send -u critical 'exthdd' " failed to mount dev <b>$dev</b>"
exit 1
fi
- notify-send -t 5000 'exthdd' " crypt dev mounted to $mountpoint"
+ notify-send -t 5000 'exthdd' " crypt dev mounted to <b>$mountpoint</b>"
;;
mars)
if ! diskinfo da0 >/dev/null; then