progress
This commit is contained in:
parent
ca626d7dbd
commit
e5105d18b7
2
main.sh
2
main.sh
|
@ -20,7 +20,7 @@ target_phy_disk() {
|
||||||
local output
|
local output
|
||||||
DISKS_DETAILS=$(lsblk -l -o KNAME,TYPE,SIZE,MODEL,WWN|grep disk)
|
DISKS_DETAILS=$(lsblk -l -o KNAME,TYPE,SIZE,MODEL,WWN|grep disk)
|
||||||
echo "$DISKS_DETAILS"
|
echo "$DISKS_DETAILS"
|
||||||
multiplechoice "$(echo "${DISKS_DETAILS//\n/}"|awk '{print $1}')"
|
multiplechoice $(echo "${DISKS_DETAILS}"|awk '{print $1}')
|
||||||
TARGET_PHY_DISK="/dev/${output}"
|
TARGET_PHY_DISK="/dev/${output}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user