This commit is contained in:
teldra 2022-09-12 11:10:51 +02:00
parent abd01cb8db
commit ab3917341f
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ target_phy_disk() {
target_phy_id() {
local i
local f2
if ! echo "${TARGET_PHY_DISK}" | grep -q vd ; then
if echo "${TARGET_PHY_DISK}" | grep -qv vd ; then
for i in $(find /dev/disk/by-id ! -type d | grep -v part); do
if realpath "${i}" | grep -q -i "${TARGET_PHY_DISK}"; then
if echo "${i}" | grep -v "wwn" | grep -q -v "eui"; then