From c33e58ef2cf138fbaf3f15d3a9d472e45959fec8 Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Sun, 12 Sep 2021 14:35:03 -0500 Subject: umnt filter .*/boot$ & .*/efi$ --- keyboard/umnt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'keyboard/umnt') diff --git a/keyboard/umnt b/keyboard/umnt index d43297d..a77dc65 100755 --- a/keyboard/umnt +++ b/keyboard/umnt @@ -1,5 +1,5 @@ #!/bin/sh -exclude='\/boot\/|\/home$|tbhdd$|\/$' +exclude='\/efi$|\/boot$|\/home$|tbhdd$|\/$' if mountedpartition=`lsblk --noheadings --paths --raw | awk "/part .+/ && !/$exclude/ "'{ print $1, "(on", $7 ")" }' | dmenu -p "Unmount Device... "` then doas umount "`echo $mountedpartition | sed 's/ .*//'`" \ -- cgit v1.2.3