From 46b7d3f0c104880b161951e971146b92fe254175 Mon Sep 17 00:00:00 2001 From: Hector Canizales Date: Sun, 15 Aug 2021 20:04:07 -0500 Subject: [PATCH] add /efi to exceptions in unmount script (#983) --- .local/bin/dmenuumount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/dmenuumount b/.local/bin/dmenuumount index 26612ef..52dd7ff 100755 --- a/.local/bin/dmenuumount +++ b/.local/bin/dmenuumount @@ -26,7 +26,7 @@ asktype() { \ esac } -drives=$(lsblk -nrpo "name,type,size,mountpoint" | awk '$4!~/\/boot|\/home$|SWAP/&&length($4)>1{printf "%s (%s)\n",$4,$3}') +drives=$(lsblk -nrpo "name,type,size,mountpoint" | awk '$4!~/\/boot|\/efi|\/home$|SWAP/&&length($4)>1{printf "%s (%s)\n",$4,$3}') if ! grep simple-mtpfs /etc/mtab; then [ -z "$drives" ] && echo "No drives to unmount." && exit