18 lines
580 B
Bash
Executable File
18 lines
580 B
Bash
Executable File
#!/bin/sh
|
||
# Load KOI8-R screen mapping.
|
||
vidcontrol -l koi8-r2cp866
|
||
# Load Alternate Codes screen font.
|
||
vidcontrol -f 8x16 cp866b-8x16
|
||
vidcontrol -f 8x14 cp866-8x14
|
||
vidcontrol -f 8x8 cp866-8x8
|
||
# Install JCUKEN keyboard mapping.
|
||
kbdcontrol -l ru.koi8-r # Not needed for kernel compiled with RUKEYMAP option
|
||
# Remap Grey Delete to ESC [ ~
|
||
kbdcontrol -f 61 '[~'
|
||
# Maximum key rate
|
||
kbdcontrol -r fast
|
||
# Blank after 5 min
|
||
vidcontrol -t 300
|
||
# Syscons screen saver
|
||
(modstat | grep -q _saver || modload -u -o /tmp/snake_saver_mod -e saver_init -q /lkm/snake_saver_mod.o) > /dev/null 2>&1
|