mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
shrink menu
This commit is contained in:
parent
56ca460b1c
commit
04c1dfd4ee
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ btrfs_raid_level() {
|
||||||
DIALOG --msgbox "BTRFS DATA RAID OPTIONS:\n\nRAID5/6 are for testing purpose. Use with extreme care!\n\nIf you don't need this feature select NONE." 0 0
|
DIALOG --msgbox "BTRFS DATA RAID OPTIONS:\n\nRAID5/6 are for testing purpose. Use with extreme care!\n\nIf you don't need this feature select NONE." 0 0
|
||||||
while [[ "${BTRFS_RAID_FINISH}" != "DONE" ]]; do
|
while [[ "${BTRFS_RAID_FINISH}" != "DONE" ]]; do
|
||||||
#shellcheck disable=SC2086
|
#shellcheck disable=SC2086
|
||||||
DIALOG --menu "Select the raid data level you want to use" 12 50 9 ${BTRFS_RAIDLEVELS} 2>"${ANSWER}" || return 1
|
DIALOG --menu "Select the raid data level you want to use" 9 50 7 ${BTRFS_RAIDLEVELS} 2>"${ANSWER}" || return 1
|
||||||
BTRFS_LEVEL=$(cat "${ANSWER}")
|
BTRFS_LEVEL=$(cat "${ANSWER}")
|
||||||
if [[ "${BTRFS_LEVEL}" = "NONE" ]]; then
|
if [[ "${BTRFS_LEVEL}" = "NONE" ]]; then
|
||||||
echo "${BTRFS_DEVICE}" >>/tmp/.btrfs-devices
|
echo "${BTRFS_DEVICE}" >>/tmp/.btrfs-devices
|
||||||
|
|
Loading…
Reference in a new issue