Print this page
7928 Add support for SMF_EXIT_TEMP_TRANSIENT

@@ -19,10 +19,13 @@
 #
 # 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,12 +32,11 @@
 
 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
+        exit $SMF_EXIT_TEMP_TRANSIENT
 }
 
 check_is_domu()
 {
         if [ `uname -p` != "i386" -o `uname -i` != "i86xpv" ]; then