mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
add windowskeys to autoconfiguration
This commit is contained in:
parent
98781d8588
commit
a303e07f5e
2 changed files with 10 additions and 0 deletions
|
@ -173,6 +173,15 @@ _auto_set_locale() {
|
|||
sleep 2
|
||||
}
|
||||
|
||||
_auto_windowkeys() {
|
||||
if ! [[ -e ${_DESTDIR}/etc/systemd/system/windowskeys.service ]]; then
|
||||
# enable windowskeys on console
|
||||
_progress "98" "Enable windowkeys on installed system..."
|
||||
cp /etc/systemd/system/windowskeys.service ${_DESTDIR}/etc/systemd/system/windowskeys.service
|
||||
chroot "${_DESTDIR}" systemctl enable windowkeys &>"${_NO_LOG}"
|
||||
fi
|
||||
}
|
||||
|
||||
_auto_bash(){
|
||||
if [[ ! -f ${_DESTDIR}/etc/profile.d/custom-bash-prompt.sh ]]; then
|
||||
_progress "99" "Setup bash with custom options on installed system..."
|
||||
|
|
|
@ -55,6 +55,7 @@ _run_autoconfig() {
|
|||
_auto_hostname
|
||||
_auto_locale
|
||||
_auto_set_locale
|
||||
_auto_windowkeys
|
||||
_auto_bash
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue