add detection of nvme drives, thanks to wishindo from manjaro forum
Signed-off-by: Dan Johansen <strit@manjaro.org>
This commit is contained in:
parent
910c0d10e3
commit
68a82b74b2
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue