mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
enable windows super keys on console by default
This commit is contained in:
parent
884ec359fd
commit
3e9204da66
1 changed files with 17 additions and 17 deletions
|
@ -164,25 +164,25 @@ if [[ -e /usr/bin/setup ]]; then
|
||||||
_local_mode
|
_local_mode
|
||||||
# wait on user interaction!
|
# wait on user interaction!
|
||||||
_enter_shell
|
_enter_shell
|
||||||
|
# enable super keys console support
|
||||||
|
loadkeys windowkeys
|
||||||
# Basic Setup on archboot:
|
# Basic Setup on archboot:
|
||||||
# localization, network, clock, pacman
|
# localization, network, clock, pacman
|
||||||
if grep -qw 'archboot' /etc/hostname; then
|
if ! [[ -e /.localize ]]; then
|
||||||
if ! [[ -e /.localize ]]; then
|
localize
|
||||||
localize
|
source /etc/locale.conf
|
||||||
source /etc/locale.conf
|
fi
|
||||||
fi
|
if [[ ! -e /.network ]]; then
|
||||||
if [[ ! -e /.network ]]; then
|
network
|
||||||
network
|
fi
|
||||||
fi
|
if ! [[ -e /.clock ]]; then
|
||||||
if ! [[ -e /.clock ]]; then
|
clock
|
||||||
clock
|
fi
|
||||||
fi
|
if [[ ! -e /.pacsetup ]]; then
|
||||||
if [[ ! -e /.pacsetup ]]; then
|
pacsetup
|
||||||
pacsetup
|
fi
|
||||||
fi
|
if [[ ! -e /.launcher ]]; then
|
||||||
if [[ ! -e /.launcher ]]; then
|
launcher
|
||||||
launcher
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
# latest image, fail if less than 2GB RAM available
|
# latest image, fail if less than 2GB RAM available
|
||||||
elif [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -lt 1970000 ]]; then
|
elif [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -lt 1970000 ]]; then
|
||||||
|
|
Loading…
Reference in a new issue