summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormcbride <mcbride@openbsd.org>2004-09-17 21:50:30 +0000
committermcbride <mcbride@openbsd.org>2004-09-17 21:50:30 +0000
commit48390b5971a4314f5d0f02d4a0eb52c2c51a514c (patch)
tree722918d6f6ae835ee5e0c41e3cc4bc34463c3e38
parentClean up reference counting wrt state creation and destruction. Fixes (diff)
downloadwireguard-openbsd-48390b5971a4314f5d0f02d4a0eb52c2c51a514c.tar.xz
wireguard-openbsd-48390b5971a4314f5d0f02d4a0eb52c2c51a514c.zip
Set up alternate keyboard encoding earlier in rc.
ok miod@ henning@ deraadt@
-rw-r--r--etc/rc10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/rc b/etc/rc
index 0f36e9d653b..2e798c2697f 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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'