Print this page
7928 Add support for SMF_EXIT_TEMP_TRANSIENT

@@ -1,10 +1,12 @@
 #!/sbin/sh
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright 2017 RackTop Systems.
+#
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
 # Common Development and Distribution License (the "License").
 # You may not use this file except in compliance with the License.

@@ -142,12 +144,11 @@
 if [ ! -c "$VNTSD_DEV" ]; then
         echo "The Virtual Network Terminal Server service has been disabled" \
             "because the system has no virtual console concentrator (vcc)" \
             "device."
         /usr/sbin/svcadm disable -t "$SMF_FMRI"
-        sleep 5 &
-        exit $SMF_EXIT_OK
+        exit $SMF_EXIT_TEMP_TRANSIENT
 fi
 
 if [ -x /usr/lib/ldoms/vntsd ]; then
     /usr/lib/ldoms/vntsd $args
     rc=$?