This commit is contained in:
teldra 2022-02-07 15:16:24 +01:00
parent 077826437f
commit 7f14324b2b

View File

@ -31,7 +31,7 @@ target_phy_id() {
set -x set -x
for i in $(find /dev/disk/by-id ! -type d|grep -v part); do 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 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" TARGET_PHY_ID="$i"
f2=1 f2=1
fi fi