set_keyboard_layout revision f95bda13672da09ae973b76683e47b094188903a
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# CDDL HEADER START
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# The contents of this file are subject to the terms of the
b4fbc96e05117839ca409f5f20f97b3ac872d1edTill Mossakowski# Common Development and Distribution License, Version 1.0 only
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# (the "License"). You may not use this file except in compliance
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# with the License.
f3a94a197960e548ecd6520bb768cb0d547457bbChristian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# or http://www.opensolaris.org/os/licensing.
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# See the License for the specific language governing permissions
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# and limitations under the License.
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# When distributing Covered Code, include this CDDL HEADER in each
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# If applicable, add the following below this CDDL HEADER, with the
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# fields enclosed by brackets "[]" replaced with your own identifying
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# information: Portions Copyright [yyyy] [name of copyright owner]
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# CDDL HEADER END
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski#pragma ident "%Z%%M% %I% %E% SMI"
88c66e48620750c42b94db9feb01b42ae23dba97Till Mossakowski# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# Use is subject to license terms.
ab419eb9bb19c32515fb35793f1192a86c74712eTill Mossakowski# (Really, should pick this up from the keyboard device node keyboard-type
e953bea49e7f0e1a43bccf2a66c5e2a2b50848e0Christian Maeder# value, or the 1275 PC keyboard binding "layout" property.)
e953bea49e7f0e1a43bccf2a66c5e2a2b50848e0Christian MaederKBD_LAYOUT_NAME="`/usr/sbin/eeprom kbd-type | /usr/bin/sed -n s/kbd-type=//p`"
e953bea49e7f0e1a43bccf2a66c5e2a2b50848e0Christian Maeder"USB keyboard")
f7d2e793728bbb7fd185e027eb9dfd7b9dd11c21Christian Maeder "US-English(Microsoft-Natural)" ) LAYOUT=33 ;;
if test -n "$LAYOUT"