devices-local revision 681d9761e8516a7dc5ab6589e2dfe717777e1123
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# Common Development and Distribution License (the "License").
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# You may not use this file except in compliance with the License.
6f6f4a4bca281779d196acbdd5c017bb90858305trawick# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick# See the License for the specific language governing permissions
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb# and limitations under the License.
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# When distributing Covered Code, include this CDDL HEADER in each
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# If applicable, add the following below this CDDL HEADER, with the
1bed1439cc86cac95cdbd16a0342e3b5362f7d0crbb# fields enclosed by brackets "[]" replaced with your own identifying
1bed1439cc86cac95cdbd16a0342e3b5362f7d0crbb# information: Portions Copyright [yyyy] [name of copyright owner]
1bed1439cc86cac95cdbd16a0342e3b5362f7d0crbb# CDDL HEADER END
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# Use is subject to license terms.
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T.
73cbcafbe4c5ce51e6ba8043d33235fde09b6e94trawick# All rights reserved.
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb# Initiate the device reconfiguration process in case we need some
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard# device links established so that we can successfully perform our
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard# remaining standard mounts.
10b386767f6c87b45937244371cb751f0b454d16wrowesvcprop -q -p system/reconfigure system/svc/restarter:default
75960f20f88dad6bc67892c711c429946063d133stoddard # Flush any existing socket mappings since the major numbers of
75960f20f88dad6bc67892c711c429946063d133stoddard # the device files may have changed.
75960f20f88dad6bc67892c711c429946063d133stoddard /usr/bin/awk '/^[^#]/ { print $1, $2, $3 }' /etc/sock2path | \
10b386767f6c87b45937244371cb751f0b454d16wrowe # Update kernel driver.conf cache.
a9e07e4f90adcc7bc768db3055431c3dcd560cd1manoj# Establish the default framebuffer name.
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbb if [ -c $1 ]; then