devices-local revision 7c478bd95313f5f23a4c958a745db2134aa03244
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# CDDL HEADER START
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark Andrews# The contents of this file are subject to the terms of the
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# Common Development and Distribution License, Version 1.0 only
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# (the "License"). You may not use this file except in compliance
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# with the License.
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# or http://www.opensolaris.org/os/licensing.
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
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
ddccd5811feff696ba460dabfb666ce61040f545Andreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark Andrews# CDDL HEADER END
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Use is subject to license terms.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# All rights reserved.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# ident "%Z%%M% %I% %E% SMI"
86b0285d7e65601645db4090d62ee6cb63abad6cAndreas Gustafsson# GLXXX - The SysV copyright should be unnecessary now?
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Initiate the device reconfiguration process in case we need some
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# device links established so that we can successfully perform our
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# remaining standard mounts.
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrewssvcprop -q -p system/reconfigure system/svc/restarter:default
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein if [ -x /usr/ucb/ucblinks -a -f /usr/ucblib/ucblinks.awk ]; then
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein # Flush any existing socket mappings since the major numbers of
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein # the device files may have changed.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein /usr/bin/awk '/^[^#]/ { print $1, $2, $3 }' /etc/sock2path | \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein /sbin/soconfig -f /etc/sock2path >/dev/null 2>&1
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein # Update kernel driver.conf cache.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Establish the default framebuffer name.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein if [ -c $1 ]; then