mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
put font setting earlier in login.sh
This commit is contained in:
parent
5eeae3e16d
commit
e2eb4a2151
1 changed files with 11 additions and 11 deletions
|
@ -106,17 +106,6 @@ _run_update_installer() {
|
|||
fi
|
||||
}
|
||||
|
||||
if ! mount | grep -q zram0; then
|
||||
_switch_root_zram | tee -a /dev/ttyS0 /dev/ttyAMA0 /dev/ttyUSB0 /dev/pts/0 2>/dev/null
|
||||
else
|
||||
systemctl start systemd-networkd
|
||||
systemctl start systemd-resolved
|
||||
# initialize pacman keyring
|
||||
if [[ -e "/etc/systemd/system/pacman-init.service" ]]; then
|
||||
systemctl start pacman-init
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! [[ -e "/.vconsole-run" ]]; then
|
||||
touch /.vconsole-run
|
||||
FB_SIZE="$(cut -d 'x' -f 1 "$(find /sys -wholename '*fb0/modes')" | sed -e 's#.*:##g')"
|
||||
|
@ -140,6 +129,17 @@ if ! [[ -e "/.clean-pacman-db" ]]; then
|
|||
done
|
||||
fi
|
||||
|
||||
if ! mount | grep -q zram0; then
|
||||
_switch_root_zram | tee -a /dev/ttyS0 /dev/ttyAMA0 /dev/ttyUSB0 /dev/pts/0 2>/dev/null
|
||||
else
|
||||
systemctl start systemd-networkd
|
||||
systemctl start systemd-resolved
|
||||
# initialize pacman keyring
|
||||
if [[ -e "/etc/systemd/system/pacman-init.service" ]]; then
|
||||
systemctl start pacman-init
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -e /usr/bin/setup ]]; then
|
||||
_local_mode
|
||||
_enter_shell
|
||||
|
|
Loading…
Reference in a new issue