add detection of nvme drives, thanks to wishindo from manjaro forum

Signed-off-by: Dan Johansen <strit@manjaro.org>
This commit is contained in:
Dan Johansen 2022-01-11 06:55:57 +01:00
parent 910c0d10e3
commit 68a82b74b2
No known key found for this signature in database
GPG Key ID: 084A7FC0035B1D49
1 changed files with 2 additions and 1 deletions

View File

@ -665,10 +665,11 @@ fi
if [[ "$SDTYP" = "sd" ]]; then if [[ "$SDTYP" = "sd" ]]; then
SDDEV="" SDDEV=""
elif [[ "$SDTYP" = "mm" ]]; then elif [[ "$SDTYP" = "mm" || "$SDTYP" = "nv" ]]; then
SDDEV="p" SDDEV="p"
else else
clear clear
echo "Unkown Block Device Type"
exit 1 exit 1
fi fi