fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#! /usr/bin/ksh
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# BSD 3 Clause License
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright (c) 2007, The Storage Networking Industry Association.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Redistribution and use in source and binary forms, with or without
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# modification, are permitted provided that the following conditions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# are met:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# - Redistributions of source code must retain the above copyright
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# notice, this list of conditions and the following disclaimer.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# - Redistributions in binary form must reproduce the above copyright
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# notice, this list of conditions and the following disclaimer in
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# the documentation and/or other materials provided with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# distribution.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# - Neither the name of The Storage Networking Industry Association (SNIA)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# nor the names of its contributors may be used to endorse or promote
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# products derived from this software without specific prior written
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# permission.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# POSSIBILITY OF SUCH DAMAGE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte. /lib/svc/share/smf_include.sh
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteif [ -f /usr/lib/ndmp/ndmpd ]; then
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte /usr/lib/ndmp/ndmpd 2>&1 &
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte exit 0
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteelse
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte exit $SMF_EXIT_ERR_CONFIG
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortefi
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte