blob: b97567c4b3dc31188ab1d34d29f3a8e015341a37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
readonly PROGNAME="$(basename "${0}")";
readonly PROGDIR="$(readlink -f "$(dirname "${0}")")";
readonly ARGS="${@}";
main()
{
# Activate numlock on virtual consoles
# Equivalent to systemctl edit getty@.service
mkdir -p '/etc/systemd/system/getty@.service.d'
cp 'numlock_virtual_console.conf' \
'/etc/systemd/system/getty@.service.d/override.conf'
}
main ${ARGS}
exit 0
|