svc-vrrp revision 1cb875ae88fb9463b368e725c2444776595895cb
70N/A#!/sbin/sh
70N/A#
70N/A# CDDL HEADER START
70N/A#
1072N/A# The contents of this file are subject to the terms of the
70N/A# Common Development and Distribution License (the "License").
70N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A
919N/A#
919N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
70N/A# Use is subject to license terms.
70N/A#
70N/A
70N/A#
493N/A# Service Method Support Script for the VRRP service
70N/A#
70N/A
1179N/A. /lib/svc/share/smf_include.sh
70N/A
911N/A# Start the vrrpd daemon
1179N/A/usr/lib/inet/vrrpd
1179N/Aif [ $? = 0 ]; then
911N/A exit $SMF_EXIT_OK
70N/Aelse
371N/A exit $SMF_EXIT_ERR_FATAL
70N/Afi
70N/A