Print this page
7928 Add support for SMF_EXIT_TEMP_TRANSIENT

*** 19,28 **** --- 19,31 ---- # # CDDL HEADER END # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. + # + # Copyright 2017 RackTop Systems. + # interval=$2 . /lib/svc/share/smf_include.sh
*** 29,40 **** disable_self() { echo "This service will only run in a PV xVM domU." svcadm disable svc:/system/xvm/ipagent:default ! sleep 5 & ! exit $SMF_EXIT_OK } check_is_domu() { if [ `uname -p` != "i386" -o `uname -i` != "i86xpv" ]; then --- 32,42 ---- disable_self() { echo "This service will only run in a PV xVM domU." svcadm disable svc:/system/xvm/ipagent:default ! exit $SMF_EXIT_TEMP_TRANSIENT } check_is_domu() { if [ `uname -p` != "i386" -o `uname -i` != "i86xpv" ]; then