#!/usr/sbin/sh # # Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. # . /lib/svc/share/smf_include.sh if [ -z "$SMF_FMRI" ]; then echo "this script can only be invoked by smf(5)" exit $SMF_EXIT_ERR_NOSMF fi # # No need to start the daemon in a shared stack zone; disable the service # instead # smf_configure_ip if [ $? -eq 1 ] ; then smf_method_exit $SMF_EXIT_TEMP_DISABLE shared_stack \ "$SMF_FMRI does not run in a shared stack zone" fi /lib/inet/in.mpathd [ $? -eq 0 ] || exit $SMF_EXIT_ERR_FATAL exit $SMF_EXIT_OK