fixes
This commit is contained in:
parent
d0d7bd8cfe
commit
33dfd1f506
|
@ -16,10 +16,10 @@ 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 [[ ! "${name}" == "ata-"* ]]; then
|
||||
if [[ "${name}" == "ata-"* ]]; then
|
||||
continue
|
||||
fi
|
||||
if [[ ! "${name}" == "usb-"* ]]; then
|
||||
if [[ "${name}" == "usb-"* ]]; then
|
||||
continue
|
||||
fi
|
||||
index=$(( index + 1 ))
|
||||
|
|
Loading…
Reference in New Issue