mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
remove _GUIDPARAMETER=0
This commit is contained in:
parent
37baa0d974
commit
d7d46243a9
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ _geteditor() {
|
||||||
_set_uefi_parameters() {
|
_set_uefi_parameters() {
|
||||||
_UEFI_BOOT=""
|
_UEFI_BOOT=""
|
||||||
_UEFI_SECURE_BOOT=""
|
_UEFI_SECURE_BOOT=""
|
||||||
_GUIDPARAMETER="0"
|
_GUIDPARAMETER=""
|
||||||
[[ -e "/sys/firmware/efi" ]] && _UEFI_BOOT="1"
|
[[ -e "/sys/firmware/efi" ]] && _UEFI_BOOT="1"
|
||||||
if [[ "${_UEFI_BOOT}" == "1" ]]; then
|
if [[ "${_UEFI_BOOT}" == "1" ]]; then
|
||||||
_GUIDPARAMETER="1"
|
_GUIDPARAMETER="1"
|
||||||
|
|
|
@ -661,7 +661,7 @@ _createraid()
|
||||||
if [[ ${_RAID_PARTITION} == "1" ]]; then
|
if [[ ${_RAID_PARTITION} == "1" ]]; then
|
||||||
# switch for mbr usage
|
# switch for mbr usage
|
||||||
_set_guid
|
_set_guid
|
||||||
if [[ "${_GUIDPARAMETER}" == "0" ]]; then
|
if [[ -z "${_GUIDPARAMETER}" ]]; then
|
||||||
_dialog --msgbox "Now you'll be put into the cfdisk program where you can partition your raiddevice to your needs." 6 70
|
_dialog --msgbox "Now you'll be put into the cfdisk program where you can partition your raiddevice to your needs." 6 70
|
||||||
cfdisk "${_RAIDDEVICE}"
|
cfdisk "${_RAIDDEVICE}"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue