summaryrefslogtreecommitdiff
path: root/keyboard/umnt
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/umnt')
-rwxr-xr-xkeyboard/umnt2
1 files changed, 1 insertions, 1 deletions
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/ .*//'`" \