progress
This commit is contained in:
parent
077826437f
commit
7f14324b2b
2
main.sh
2
main.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user