introduce nvme

This commit is contained in:
teldra 2021-08-18 08:12:06 +02:00
parent 311728de73
commit 3c21548b2d
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ for i in $(find /dev/disk/by-id/ -type l -printf "%P\n"|grep -v "part" |tac); do
if [[ "${name}" == *"/dev/sr"* ]]; then
continue
fi
if [[ ! "${i}" == "usb"* ]] && [[ ! "${i}" == "ata"* ]]; then
if [[ ! "${i}" == "usb"* ]] && [[ ! "${i}" == "ata"* ]] && [[ ! "${i}" == "nvm"* ]]; then
continue
fi
index=$(( index + 1 ))