xref: /illumos-gate/usr/src/cmd/halt/smf.sparc/svc-boot-config (revision e557d412e15c7f384b2ea3bf316a739a0f81cd55)
1*e557d412SChristopher Kiick#!/sbin/sh
2*e557d412SChristopher Kiick#
3*e557d412SChristopher Kiick# CDDL HEADER START
4*e557d412SChristopher Kiick#
5*e557d412SChristopher Kiick# The contents of this file are subject to the terms of the
6*e557d412SChristopher Kiick# Common Development and Distribution License (the "License").
7*e557d412SChristopher Kiick# You may not use this file except in compliance with the License.
8*e557d412SChristopher Kiick#
9*e557d412SChristopher Kiick# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*e557d412SChristopher Kiick# or http://www.opensolaris.org/os/licensing.
11*e557d412SChristopher Kiick# See the License for the specific language governing permissions
12*e557d412SChristopher Kiick# and limitations under the License.
13*e557d412SChristopher Kiick#
14*e557d412SChristopher Kiick# When distributing Covered Code, include this CDDL HEADER in each
15*e557d412SChristopher Kiick# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*e557d412SChristopher Kiick# If applicable, add the following below this CDDL HEADER, with the
17*e557d412SChristopher Kiick# fields enclosed by brackets "[]" replaced with your own identifying
18*e557d412SChristopher Kiick# information: Portions Copyright [yyyy] [name of copyright owner]
19*e557d412SChristopher Kiick#
20*e557d412SChristopher Kiick# CDDL HEADER END
21*e557d412SChristopher Kiick#
22*e557d412SChristopher Kiick#
23*e557d412SChristopher Kiick# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
24*e557d412SChristopher Kiick# Use is subject to license terms.
25*e557d412SChristopher Kiick#
26*e557d412SChristopher Kiick# Start and refresh method script for the boot-config service.
27*e557d412SChristopher Kiick#
28*e557d412SChristopher Kiick
29*e557d412SChristopher Kiick. /lib/svc/share/smf_include.sh
30*e557d412SChristopher Kiick
31*e557d412SChristopher Kiick#
32*e557d412SChristopher Kiick# This service is only valid in the global zone.
33*e557d412SChristopher Kiick#
34*e557d412SChristopher Kiicksmf_is_globalzone || exit $SMF_EXIT_OK
35*e557d412SChristopher Kiick
36*e557d412SChristopher Kiick#
37*e557d412SChristopher Kiick# uadmin A_CONFIG AD_UPDATE_BOOT_CONFIG
38*e557d412SChristopher Kiick#
39*e557d412SChristopher Kiick/usr/sbin/uadmin 23 1
40*e557d412SChristopher Kiickexit $SMF_EXIT_OK
41