diff options
| author | Hector Canizales <heror0484@gmail.com> | 2021-08-15 20:04:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-15 21:04:07 -0400 |
| commit | 46b7d3f0c104880b161951e971146b92fe254175 (patch) | |
| tree | d0453cf672c7a023ada74afc982625736fc9de4c /.local/bin | |
| parent | eef59cafd76dbb66ab47cf3ee9987387100aa17a (diff) | |
| download | eibhear-46b7d3f0c104880b161951e971146b92fe254175.tar.gz eibhear-46b7d3f0c104880b161951e971146b92fe254175.tar.zst eibhear-46b7d3f0c104880b161951e971146b92fe254175.zip | |
add /efi to exceptions in unmount script (#983)
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/dmenuumount | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
