This commit is contained in:
teldra 2022-02-07 15:16:24 +01:00
parent 077826437f
commit 7f14324b2b
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ target_phy_id() {
set -x
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 -q -v "wwn" | grep -q -v "eui"; then
if echo "$i" | grep -v "wwn" | grep -q -v "eui"; then
TARGET_PHY_ID="$i"
f2=1
fi