mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix _MP
This commit is contained in:
parent
fb3b2010a5
commit
f8006f8015
1 changed files with 4 additions and 1 deletions
|
@ -62,7 +62,7 @@ _select_filesystem() {
|
||||||
|
|
||||||
_enter_mountpoint() {
|
_enter_mountpoint() {
|
||||||
if [[ -n "${_DO_ROOT}" ]]; then
|
if [[ -n "${_DO_ROOT}" ]]; then
|
||||||
MP="/"
|
_MP="/"
|
||||||
else
|
else
|
||||||
_MP=""
|
_MP=""
|
||||||
while [[ -z "${_MP}" ]]; do
|
while [[ -z "${_MP}" ]]; do
|
||||||
|
@ -134,6 +134,9 @@ _mountpoints() {
|
||||||
_dialog --cr-wrap --msgbox "Available partitions:\n\n$(_getavailpartitions)\n" 0 0
|
_dialog --cr-wrap --msgbox "Available partitions:\n\n$(_getavailpartitions)\n" 0 0
|
||||||
_dialog --infobox "Scanning blockdevices for selection ..." 3 60
|
_dialog --infobox "Scanning blockdevices for selection ..." 3 60
|
||||||
_PARTS=$(_findpartitions _)
|
_PARTS=$(_findpartitions _)
|
||||||
|
#
|
||||||
|
# swap setting
|
||||||
|
#
|
||||||
_FSTYPE="swap"
|
_FSTYPE="swap"
|
||||||
#shellcheck disable=SC2086
|
#shellcheck disable=SC2086
|
||||||
_dialog --menu "Select the partition to use as swap:" 15 50 12 NONE - ${_PARTS} 2>"${_ANSWER}" || return 1
|
_dialog --menu "Select the partition to use as swap:" 15 50 12 NONE - ${_PARTS} 2>"${_ANSWER}" || return 1
|
||||||
|
|
Loading…
Reference in a new issue