progress
This commit is contained in:
parent
80b1a36ecd
commit
80de97d4d7
2
main.sh
2
main.sh
|
@ -26,7 +26,7 @@ target_phy_disk() {
|
||||||
local output
|
local output
|
||||||
DISKS_DETAILS=$(lsblk -l -o KNAME,TYPE,SIZE,MODEL|grep disk)
|
DISKS_DETAILS=$(lsblk -l -o KNAME,TYPE,SIZE,MODEL|grep disk)
|
||||||
echo "${DISKS_DETAILS}"
|
echo "${DISKS_DETAILS}"
|
||||||
multiplechoice $(echo "${DISKS_DETAILS}"|awk '{print $1}')
|
multiplechoice "$(echo "${DISKS_DETAILS}"|awk '{print $1}')"
|
||||||
TARGET_PHY_DISK="${output}"
|
TARGET_PHY_DISK="${output}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue