mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
start adding SWAP file support
This commit is contained in:
parent
d7667114e5
commit
f30e8fb570
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ _enter_mountpoint() {
|
|||
done
|
||||
_DEV="${_SWAPFILE}"
|
||||
while [[ -z "${_SWAPFILE_SIZE}" ]]; do
|
||||
_dialog --no-cancel --title " Enter Size in MiB " --inputbox "16000" 7 65 "/archlinux.swap" 2>"${_ANSWER}" || return 1
|
||||
_dialog --no-cancel --title " Enter Swap Size in MiB " --inputbox "" 7 65 "16000" 2>"${_ANSWER}" || return 1
|
||||
_SWAPFILE_SIZE=$(cat "${_ANSWER}")
|
||||
done
|
||||
_FSOPTS="${_SWAPFILE_SIZE}"
|
||||
|
|
Loading…
Reference in a new issue