set_keyboard_layout revision 7c478bd95313f5f23a4c958a745db2134aa03244
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# CDDL HEADER START
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# The contents of this file are subject to the terms of the
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Common Development and Distribution License, Version 1.0 only
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# (the "License"). You may not use this file except in compliance
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# with the License.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# See the License for the specific language governing permissions
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# and limitations under the License.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# When distributing Covered Code, include this CDDL HEADER in each
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# If applicable, add the following below this CDDL HEADER, with the
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# CDDL HEADER END
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# ident "%Z%%M% %I% %E% SMI"
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# Copyright (c) 2001 by Sun Microsystems, Inc.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# All rights reserved.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# (Really, should pick this up from the keyboard device node keyboard-type
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync# value, or the 1275 PC keyboard binding "layout" property.)
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncKBD_LAYOUT_NAME="`/usr/sbin/eeprom kbd-type | /usr/bin/sed -n s/kbd-type=//p`"
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync"USB keyboard")
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync # Set the layout for a non-self-ID keyboard.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync # loadkeys -s is a project private interface, and subject to change
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync # without notice.