This commit is contained in:
teldra 2021-05-09 19:21:44 +02:00
parent 809304100b
commit 51bb16f844

View File

@ -7,9 +7,6 @@ declare -A disk=()
index=0
for i in $(find /dev/disk/by-id/ -type l -printf "%P\n"|grep -v "part" |tac); do
name="$(readlink -f /dev/disk/by-id/"${i}")"
# if [[ "${i}" =~ "ww"* ]]; then
# continue
# fi
if [[ "${name}" =~ *"^[0-9]+$"* ]]; then
continue
fi