bigger menu

This commit is contained in:
Tobias Powalowski 2022-04-09 20:09:29 +02:00
parent 3df8d0ce68
commit 7bee68f0bb

View file

@ -761,7 +761,7 @@ _createpv()
# select the first device to use
DEVNUMBER=1
#shellcheck disable=SC2086
DIALOG --menu "Select device number ${DEVNUMBER} for physical volume" 11 50 8 ${PARTS} 2>"${ANSWER}" || return 1
DIALOG --menu "Select device number ${DEVNUMBER} for physical volume" 13 50 10 ${PARTS} 2>"${ANSWER}" || return 1
PART=$(cat "${ANSWER}")
echo "${PART}" >>/tmp/.pvs-create
while [[ "${PART}" != "DONE" ]]; do
@ -770,7 +770,7 @@ _createpv()
PARTS="${PARTS//${PART}\ _/}"
# add more devices
#shellcheck disable=SC2086
DIALOG --menu "Select additional device number ${DEVNUMBER} for physical volume" 11 50 8 ${PARTS} DONE _ 2>"${ANSWER}" || return 1
DIALOG --menu "Select additional device number ${DEVNUMBER} for physical volume" 13 50 10 ${PARTS} DONE _ 2>"${ANSWER}" || return 1
PART=$(cat "${ANSWER}")
[[ "${PART}" = "DONE" ]] && break
echo "${PART}" >>/tmp/.pvs-create