c81d47afd05baeb768e2f032636019b717899efdceastha#!/bin/sh
c81d47afd05baeb768e2f032636019b717899efdceastha#
c81d47afd05baeb768e2f032636019b717899efdceastha# CDDL HEADER START
c81d47afd05baeb768e2f032636019b717899efdceastha#
c81d47afd05baeb768e2f032636019b717899efdceastha# The contents of this file are subject to the terms of the
c81d47afd05baeb768e2f032636019b717899efdceastha# Common Development and Distribution License (the "License").
c81d47afd05baeb768e2f032636019b717899efdceastha# You may not use this file except in compliance with the License.
c81d47afd05baeb768e2f032636019b717899efdceastha#
c81d47afd05baeb768e2f032636019b717899efdceastha# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c81d47afd05baeb768e2f032636019b717899efdceastha# or http://www.opensolaris.org/os/licensing.
c81d47afd05baeb768e2f032636019b717899efdceastha# See the License for the specific language governing permissions
c81d47afd05baeb768e2f032636019b717899efdceastha# and limitations under the License.
c81d47afd05baeb768e2f032636019b717899efdceastha#
c81d47afd05baeb768e2f032636019b717899efdceastha# When distributing Covered Code, include this CDDL HEADER in each
c81d47afd05baeb768e2f032636019b717899efdceastha# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c81d47afd05baeb768e2f032636019b717899efdceastha# If applicable, add the following below this CDDL HEADER, with the
c81d47afd05baeb768e2f032636019b717899efdceastha# fields enclosed by brackets "[]" replaced with your own identifying
c81d47afd05baeb768e2f032636019b717899efdceastha# information: Portions Copyright [yyyy] [name of copyright owner]
c81d47afd05baeb768e2f032636019b717899efdceastha#
c81d47afd05baeb768e2f032636019b717899efdceastha# CDDL HEADER END
c81d47afd05baeb768e2f032636019b717899efdceastha#
c81d47afd05baeb768e2f032636019b717899efdceastha# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
c81d47afd05baeb768e2f032636019b717899efdceastha# Use is subject to license terms.
c81d47afd05baeb768e2f032636019b717899efdceastha#
c81d47afd05baeb768e2f032636019b717899efdceastha# ident "%Z%%M% %I% %E% SMI"
c81d47afd05baeb768e2f032636019b717899efdceastha
c81d47afd05baeb768e2f032636019b717899efdceastha. /lib/svc/share/smf_include.sh
c81d47afd05baeb768e2f032636019b717899efdceastha
c81d47afd05baeb768e2f032636019b717899efdceasthacase "$1" in
c81d47afd05baeb768e2f032636019b717899efdceastha'start')
c81d47afd05baeb768e2f032636019b717899efdceastha if [ -x /usr/sbin/ppdmgr ] ; then
c81d47afd05baeb768e2f032636019b717899efdceastha /usr/sbin/ppdmgr -u -R all -L all
c81d47afd05baeb768e2f032636019b717899efdceastha fi
c81d47afd05baeb768e2f032636019b717899efdceastha ;;
c81d47afd05baeb768e2f032636019b717899efdceastha*)
c81d47afd05baeb768e2f032636019b717899efdceastha echo "Usage: $0 start"
c81d47afd05baeb768e2f032636019b717899efdceastha exit 1
c81d47afd05baeb768e2f032636019b717899efdceastha ;;
c81d47afd05baeb768e2f032636019b717899efdceasthaesac
c81d47afd05baeb768e2f032636019b717899efdceasthaexit $SMF_EXIT_OK