Rename bootloader configuration to be more appropriate
This commit is contained in:
parent
6a3344deea
commit
5c007145ba
@ -13,7 +13,7 @@ declare -r _name="$(basename -- "$0")"
|
||||
# Options
|
||||
declare -i _optconfigure
|
||||
declare -i _optchroot
|
||||
declare -i _optchroot2
|
||||
declare -i _optbootloader
|
||||
declare _optdest="/mnt"
|
||||
declare _optprofile="desktop"
|
||||
declare -i _opthelp
|
||||
@ -307,7 +307,7 @@ build-gentoo-chroot() {
|
||||
EOF
|
||||
exec bash
|
||||
}
|
||||
build-gentoo-chroot2() {
|
||||
build-bootloader() {
|
||||
# Last few chroot steps, mostly involving GRUB
|
||||
read -p "Enter device to install GRUB to: " grubdev
|
||||
log "Configuring GRUB"
|
||||
@ -334,7 +334,7 @@ main() {
|
||||
_optchroot=1
|
||||
;;
|
||||
d)
|
||||
_optchroot2=1
|
||||
_optbootloader=1
|
||||
;;
|
||||
h)
|
||||
_opthelp=1
|
||||
@ -369,8 +369,8 @@ main() {
|
||||
fi
|
||||
|
||||
# Do the do
|
||||
if [ -n "$_optchroot2" ]; then
|
||||
build-gentoo-chroot2
|
||||
if [ -n "$_optbootloader" ]; then
|
||||
build-bootloader
|
||||
elif [ -n "$_optchroot" ]; then
|
||||
build-gentoo-chroot
|
||||
elif [ -n "$_optconfigure" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user