Print this page
7928 Add support for SMF_EXIT_TEMP_TRANSIENT
*** 21,39 ****
#
#
# Copyright (c) 2010, Intel Corporation.
# All rights reserved.
#
. /lib/svc/share/smf_include.sh
PLATFORM="i86pc"
ACPIHPD=/usr/platform/${PLATFORM}/lib/acpihpd
/usr/sbin/prtconf -D /devices/fw/acpidr@0 > /dev/null 2>&1
if [ $? -ne 0 ]; then
svcadm disable -t $SMF_FMRI
! sleep 5&
! exit $SMF_EXIT_OK
fi
$ACPIHPD && exit $SMF_EXIT_OK || exit $SMF_EXIT_ERR_FATAL
--- 21,40 ----
#
#
# Copyright (c) 2010, Intel Corporation.
# All rights reserved.
#
+ # Copyright 2017 RackTop Systems.
+ #
. /lib/svc/share/smf_include.sh
PLATFORM="i86pc"
ACPIHPD=/usr/platform/${PLATFORM}/lib/acpihpd
/usr/sbin/prtconf -D /devices/fw/acpidr@0 > /dev/null 2>&1
if [ $? -ne 0 ]; then
svcadm disable -t $SMF_FMRI
! exit $SMF_EXIT_TEMP_TRANSIENT
fi
$ACPIHPD && exit $SMF_EXIT_OK || exit $SMF_EXIT_ERR_FATAL