188447a05SGarrett D'Amore#!/sbin/sh
2dfb9e8d7Sfl#
3dfb9e8d7Sfl# CDDL HEADER START
4dfb9e8d7Sfl#
5dfb9e8d7Sfl# The contents of this file are subject to the terms of the
6dfb9e8d7Sfl# Common Development and Distribution License (the "License").
7dfb9e8d7Sfl# You may not use this file except in compliance with the License.
8dfb9e8d7Sfl#
9dfb9e8d7Sfl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10dfb9e8d7Sfl# or http://www.opensolaris.org/os/licensing.
11dfb9e8d7Sfl# See the License for the specific language governing permissions
12dfb9e8d7Sfl# and limitations under the License.
13dfb9e8d7Sfl#
14dfb9e8d7Sfl# When distributing Covered Code, include this CDDL HEADER in each
15dfb9e8d7Sfl# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16dfb9e8d7Sfl# If applicable, add the following below this CDDL HEADER, with the
17dfb9e8d7Sfl# fields enclosed by brackets "[]" replaced with your own identifying
18dfb9e8d7Sfl# information: Portions Copyright [yyyy] [name of copyright owner]
19dfb9e8d7Sfl#
20dfb9e8d7Sfl# CDDL HEADER END
21dfb9e8d7Sfl#
22dfb9e8d7Sfl#
2388447a05SGarrett D'Amore# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24dfb9e8d7Sfl# Use is subject to license terms.
25dfb9e8d7Sfl#
26dfb9e8d7Sfl
2788447a05SGarrett D'Amore. /lib/svc/share/smf_include.sh
28dfb9e8d7Sfl
2988447a05SGarrett D'Amoresmf_is_globalzone || exit $SMF_EXIT_OK
30dfb9e8d7Sfl
3188447a05SGarrett D'Amore#
3288447a05SGarrett D'Amore# In order to populate the initial startup mapping of devfs links to
3388447a05SGarrett D'Amore# the audio subsystem (necessary to properly report numbers in
3488447a05SGarrett D'Amore# /dev/sndstat and in the OSS sysinfo ioctls -- thank you Linux!) we
35*aef5f291SGarrett D'Amore# need to initialize each audio device and plumb it into the system.
3688447a05SGarrett D'Amore#
37*aef5f291SGarrett D'Amore/usr/bin/audioctl init-devices
38*aef5f291SGarrett D'Amore
3988447a05SGarrett D'Amoreexit $SMF_EXIT_OK
40