1*c81d47afSceastha#!/bin/sh
2*c81d47afSceastha#
3*c81d47afSceastha# CDDL HEADER START
4*c81d47afSceastha#
5*c81d47afSceastha# The contents of this file are subject to the terms of the
6*c81d47afSceastha# Common Development and Distribution License (the "License").
7*c81d47afSceastha# You may not use this file except in compliance with the License.
8*c81d47afSceastha#
9*c81d47afSceastha# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*c81d47afSceastha# or http://www.opensolaris.org/os/licensing.
11*c81d47afSceastha# See the License for the specific language governing permissions
12*c81d47afSceastha# and limitations under the License.
13*c81d47afSceastha#
14*c81d47afSceastha# When distributing Covered Code, include this CDDL HEADER in each
15*c81d47afSceastha# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*c81d47afSceastha# If applicable, add the following below this CDDL HEADER, with the
17*c81d47afSceastha# fields enclosed by brackets "[]" replaced with your own identifying
18*c81d47afSceastha# information: Portions Copyright [yyyy] [name of copyright owner]
19*c81d47afSceastha#
20*c81d47afSceastha# CDDL HEADER END
21*c81d47afSceastha#
22*c81d47afSceastha# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*c81d47afSceastha# Use is subject to license terms.
24*c81d47afSceastha#
25*c81d47afSceastha# ident	"%Z%%M%	%I%	%E% SMI"
26*c81d47afSceastha
27*c81d47afSceastha. /lib/svc/share/smf_include.sh
28*c81d47afSceastha
29*c81d47afSceasthacase "$1" in
30*c81d47afSceastha'start')
31*c81d47afSceastha	if [ -x /usr/sbin/ppdmgr ] ; then
32*c81d47afSceastha		/usr/sbin/ppdmgr -u -R all -L all
33*c81d47afSceastha	fi
34*c81d47afSceastha	;;
35*c81d47afSceastha*)
36*c81d47afSceastha	echo "Usage: $0 start"
37*c81d47afSceastha	exit 1
38*c81d47afSceastha	;;
39*c81d47afSceasthaesac
40*c81d47afSceasthaexit $SMF_EXIT_OK
41