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