test
This commit is contained in:
parent
4ab6b0f28c
commit
2d1569842a
2
main.sh
2
main.sh
|
@ -41,7 +41,7 @@ target_phy_disk() {
|
|||
target_phy_id() {
|
||||
local i
|
||||
local f2
|
||||
if ! grep -q vd "${TARGET_PHY_DISK}"
|
||||
if ! grep -q vd "${TARGET_PHY_DISK}"; 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
|
||||
|
|
Loading…
Reference in New Issue
Block a user