add windowskeys to autoconfiguration

This commit is contained in:
Tobias Powalowski 2023-09-18 14:59:28 +02:00
parent 98781d8588
commit a303e07f5e
2 changed files with 10 additions and 0 deletions

View file

@ -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..."

View file

@ -55,6 +55,7 @@ _run_autoconfig() {
_auto_hostname
_auto_locale
_auto_set_locale
_auto_windowkeys
_auto_bash
}