postinstall revision 7a1306a70fee0e017a445bde1dcfd1997f691cf4
4133N/A# The contents of this file are subject to the terms of the 4133N/A# Common Development and Distribution License, Version 1.0 only 4133N/A# (the "License"). You may not use this file except in compliance 4133N/A# See the License for the specific language governing permissions 4133N/A# and limitations under the License. 4133N/A# When distributing Covered Code, include this CDDL HEADER in each 4133N/A# If applicable, add the following below this CDDL HEADER, with the 4133N/A# fields enclosed by brackets "[]" replaced with your own identifying 4133N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5680N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 5680N/A# Use is subject to license terms. 4133N/A# ident "%Z%%M% %I% %E% SMI" 4133N/A# This function will check if add_drv has been executed. 6007N/A# If not simply calls add_drv. Otherwise adds entries to 6007N/A# driver_aliases, driver_classes and minor_perm if necessary. 6007N/A# The syntax of this function is the same as add_drv. 5680N/A # Make sure add_drv has not been previously executed 5680N/A # before attempting to add the driver 4133N/A echo "Failed add_drv ${DRIVER}!\n" >&2 5835N/A # Add driver entry if necessary 5795N/A# Only attempt to attach the driver on a running 5795N/A# system with the hardware present 5795N/A # On a running system with no hardware 5795N/A # modify the system files only 5795N/A # On a running system with hardware 5795N/A # modify the system files and attach the driver 5795N/A # modify the sytem files and touch /reconfigure