diff options
author | green <green@FreeBSD.org> | 2004-06-18 20:09:30 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2004-06-18 20:09:30 +0000 |
commit | 989cfda158c14543d5d526bba866a112500966fd (patch) | |
tree | d3597c11e7c8a1207d3a9c9aaab26d577b919a56 /etc/rc.d/syscons | |
parent | 0ff326a04e63bd6dd822b26d19ced26341d0b3f7 (diff) | |
download | FreeBSD-src-989cfda158c14543d5d526bba866a112500966fd.zip FreeBSD-src-989cfda158c14543d5d526bba866a112500966fd.tar.gz |
Allow setting the system console keyboard via the ${keyboard} rc.conf
directive.
Diffstat (limited to 'etc/rc.d/syscons')
-rw-r--r-- | etc/rc.d/syscons | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/rc.d/syscons b/etc/rc.d/syscons index 249421c..ac0144f 100644 --- a/etc/rc.d/syscons +++ b/etc/rc.d/syscons @@ -59,6 +59,13 @@ syscons_start() { echo -n 'Configuring syscons:' + # keyboard + # + if [ -n "${keyboard}" ]; then + echo -n ' keyboard'; kbdcontrol < ${kbddev} \ + -k "${keyboard}" >/dev/null + fi + # keymap # case ${keymap} in |