diff options
author | 2004-09-17 21:50:30 +0000 | |
---|---|---|
committer | 2004-09-17 21:50:30 +0000 | |
commit | 48390b5971a4314f5d0f02d4a0eb52c2c51a514c (patch) | |
tree | 722918d6f6ae835ee5e0c41e3cc4bc34463c3e38 | |
parent | Clean up reference counting wrt state creation and destruction. Fixes (diff) | |
download | wireguard-openbsd-48390b5971a4314f5d0f02d4a0eb52c2c51a514c.tar.xz wireguard-openbsd-48390b5971a4314f5d0f02d4a0eb52c2c51a514c.zip |
Set up alternate keyboard encoding earlier in rc.
ok miod@ henning@ deraadt@
-rw-r--r-- | etc/rc | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.251 2004/08/21 08:17:28 hshoexer Exp $ +# $OpenBSD: rc,v 1.252 2004/09/17 21:50:30 mcbride Exp $ # System startup script run by init on autoboot # or after single-user. @@ -132,6 +132,10 @@ rm -f /fastboot # XXX (root now writeable) echo 'setting tty flags' ttyflags -a +if [ -f /sbin/kbd -a -f /etc/kbdtype ]; then + kbd `cat /etc/kbdtype` +fi + if [ "X${pf}" != X"NO" ]; then RULES="block all" RULES="$RULES\npass on lo0" @@ -612,10 +616,6 @@ if [ -x /sbin/wsconsctl -a -f /etc/wsconsctl.conf ]; then ) fi -if [ -f /sbin/kbd -a -f /etc/kbdtype ]; then - kbd `cat /etc/kbdtype` -fi - # KerberosV master KDC if [ X${krb5_master_kdc} = X"YES" ]; then echo 'KerberosV master KDC' |