mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-21 12:30:39 +02:00
21 lines
615 B
Bash
21 lines
615 B
Bash
#!/bin/bash
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
build ()
|
|
{
|
|
add_file /usr/bin/loadkeys /bin/loadkeys
|
|
add_file /usr/bin/dumpkeys /bin/dumpkeys
|
|
add_file /usr/bin/kbd_mode /bin/kdb_mode
|
|
add_file /usr/bin/setfont /bin/setfont
|
|
for i in $(find /usr/share/kbd/ ! -type d ! -name "mac*" ! -name "ppc" ! -name "ppc" ! -name "atari*" ! -name "sun*" ! -name "README*" ! -name "amiga*"); do
|
|
add_file $i
|
|
done
|
|
add_file /usr/share/archboot/keymap/km /usr/bin/km
|
|
}
|
|
|
|
help ()
|
|
{
|
|
cat<<HELPEOF
|
|
This hook includes the keymaps and fonts on an arch boot image.
|
|
HELPEOF
|
|
}
|