1*1cb875aeSCathy Zhou#!/sbin/sh
2*1cb875aeSCathy Zhou#
3*1cb875aeSCathy Zhou# CDDL HEADER START
4*1cb875aeSCathy Zhou#
5*1cb875aeSCathy Zhou# The contents of this file are subject to the terms of the
6*1cb875aeSCathy Zhou# Common Development and Distribution License (the "License").
7*1cb875aeSCathy Zhou# You may not use this file except in compliance with the License.
8*1cb875aeSCathy Zhou#
9*1cb875aeSCathy Zhou# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*1cb875aeSCathy Zhou# or http://www.opensolaris.org/os/licensing.
11*1cb875aeSCathy Zhou# See the License for the specific language governing permissions
12*1cb875aeSCathy Zhou# and limitations under the License.
13*1cb875aeSCathy Zhou#
14*1cb875aeSCathy Zhou# When distributing Covered Code, include this CDDL HEADER in each
15*1cb875aeSCathy Zhou# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*1cb875aeSCathy Zhou# If applicable, add the following below this CDDL HEADER, with the
17*1cb875aeSCathy Zhou# fields enclosed by brackets "[]" replaced with your own identifying
18*1cb875aeSCathy Zhou# information: Portions Copyright [yyyy] [name of copyright owner]
19*1cb875aeSCathy Zhou#
20*1cb875aeSCathy Zhou# CDDL HEADER END
21*1cb875aeSCathy Zhou#
22*1cb875aeSCathy Zhou
23*1cb875aeSCathy Zhou#
24*1cb875aeSCathy Zhou# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
25*1cb875aeSCathy Zhou# Use is subject to license terms.
26*1cb875aeSCathy Zhou#
27*1cb875aeSCathy Zhou
28*1cb875aeSCathy Zhou#
29*1cb875aeSCathy Zhou# Service Method Support Script for the VRRP service
30*1cb875aeSCathy Zhou#
31*1cb875aeSCathy Zhou
32*1cb875aeSCathy Zhou. /lib/svc/share/smf_include.sh
33*1cb875aeSCathy Zhou
34*1cb875aeSCathy Zhou# Start the vrrpd daemon
35*1cb875aeSCathy Zhou/usr/lib/inet/vrrpd
36*1cb875aeSCathy Zhouif [ $? = 0 ]; then
37*1cb875aeSCathy Zhou        exit $SMF_EXIT_OK
38*1cb875aeSCathy Zhouelse
39*1cb875aeSCathy Zhou        exit $SMF_EXIT_ERR_FATAL
40*1cb875aeSCathy Zhoufi
41