introduce nvme
This commit is contained in:
parent
311728de73
commit
3c21548b2d
|
@ -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
|
if [[ "${name}" == *"/dev/sr"* ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
if [[ ! "${i}" == "usb"* ]] && [[ ! "${i}" == "ata"* ]]; then
|
if [[ ! "${i}" == "usb"* ]] && [[ ! "${i}" == "ata"* ]] && [[ ! "${i}" == "nvm"* ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
index=$(( index + 1 ))
|
index=$(( index + 1 ))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user