archboot/usr/bin/archboot-setup.sh

33 lines
1.1 KiB
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-only
2023-01-08 22:22:00 +01:00
# created by Tobias Powalowski <tpowa@archlinux.org>
2022-03-22 11:33:22 +01:00
# source base and common first, contains basic parameters
. /usr/lib/archboot/installer/common.sh
2023-02-07 16:51:32 +01:00
. /usr/lib/archboot/installer/base.sh
2022-03-22 08:26:51 +01:00
# source all other functions
2022-03-22 07:32:37 +01:00
. /usr/lib/archboot/installer/autoconfiguration.sh
. /usr/lib/archboot/installer/autoprepare.sh
. /usr/lib/archboot/installer/blockdevices.sh
. /usr/lib/archboot/installer/bootloader.sh
. /usr/lib/archboot/installer/btrfs.sh
. /usr/lib/archboot/installer/configuration.sh
. /usr/lib/archboot/installer/mountpoints.sh
. /usr/lib/archboot/installer/network.sh
. /usr/lib/archboot/installer/pacman.sh
. /usr/lib/archboot/installer/partition.sh
. /usr/lib/archboot/installer/storage.sh
if [[ -e /tmp/.setup-running ]]; then
2023-01-08 22:03:15 +01:00
_dialog --msgbox "Attention:\n\nSetup already runs on a different console!\nPlease remove /tmp/.setup-running first to launch setup!" 8 60
exit 1
2009-02-11 12:03:41 +01:00
fi
: >/tmp/.setup-running
2008-10-20 22:39:25 +02:00
: >/tmp/.setup
2023-01-09 08:15:57 +01:00
_set_title
_set_uefi_parameters
while true; do
2023-01-09 06:50:20 +01:00
_mainmenu
2008-10-20 22:39:25 +02:00
done
clear
exit 0
2009-07-30 18:42:45 +02:00
# vim: set ts=4 sw=4 et: