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