mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
add spaces
This commit is contained in:
parent
4819e40452
commit
e9b9c3adf2
2 changed files with 4 additions and 4 deletions
|
@ -102,7 +102,7 @@ _run_update_installer() {
|
|||
# abort after 10 seconds
|
||||
_progress "$((${_COUNT}*10))" "Waiting $((10-${_COUNT})) seconds to stop the process with CTRL-C..."
|
||||
[[ "${_COUNT}" == 10 ]] && break
|
||||
done | _dialog --title "Stop Processing?" --no-mouse --gauge "Waiting 10 seconds to stop the process with CTRL-C..." 6 60 0
|
||||
done | _dialog --title " Stop Processing? " --no-mouse --gauge "Waiting 10 seconds to stop the process with CTRL-C..." 6 60 0
|
||||
if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -lt 2571000 ]]; then
|
||||
_run_latest
|
||||
else
|
||||
|
@ -148,7 +148,7 @@ fi
|
|||
if [[ "${TTY}" = "tty1" ]] ; then
|
||||
if ! mount | grep -q zram0; then
|
||||
_TITLE="Archboot $(uname -m) | Basic Setup | ZRAM Setup"
|
||||
_switch_root_zram | _dialog --title "Initializing..." --gauge "Creating /dev/zram0 with zstd compression..." 6 75 0 | tee -a /dev/ttyS0 /dev/ttyAMA0 /dev/ttyUSB0 /dev/pts/0 2>/dev/null
|
||||
_switch_root_zram | _dialog --title " Initializing... " --gauge "Creating /dev/zram0 with zstd compression..." 6 75 0 | tee -a /dev/ttyS0 /dev/ttyAMA0 /dev/ttyUSB0 /dev/pts/0 2>/dev/null
|
||||
else
|
||||
if ! [[ -e "${_CACHEDIR}/archboot.db" ]]; then
|
||||
systemctl start systemd-networkd
|
||||
|
|
|
@ -141,7 +141,7 @@ echo "Initialize Console..."
|
|||
printf "\ec"
|
||||
# it needs one echo before, in order to reset the consolefont!
|
||||
setfont consolefont-16.psf.gz -C /dev/console
|
||||
_first_stage | _dialog --title "Initializing..." --gauge "${_KEEP} Searching for archboot rootfs..." 6 75 0
|
||||
_first_stage | _dialog --title " Initializing... " --gauge "${_KEEP} Searching for archboot rootfs..." 6 75 0
|
||||
FB_SIZE="$(cut -d 'x' -f 1 "$(find /sys -wholename '*fb0/modes')" | sed -e 's#.*:##g')"
|
||||
if [[ "${FB_SIZE}" -gt '1900' ]]; then
|
||||
SIZE="32"
|
||||
|
@ -152,7 +152,7 @@ fi
|
|||
echo "Initialize Console..."
|
||||
printf "\ec"
|
||||
setfont consolefont-${SIZE}.psf.gz -C /dev/console
|
||||
_second_stage | _dialog --title "Initializing..." --gauge "${_KEEP} Removing firmware..." 6 75 60
|
||||
_second_stage | _dialog --title " Initializing... " --gauge "${_KEEP} Removing firmware..." 6 75 60
|
||||
echo 0 > /proc/sys/kernel/sysrq
|
||||
# set font size in vconsole.conf
|
||||
echo FONT=ter-v${SIZE}n >> /sysroot/etc/vconsole.conf
|
||||
|
|
Loading…
Reference in a new issue