Print this page
XXX Rearchitect and replace interrupt distribution
*** 23,44 ****
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
- # ident "%Z%%M% %I% %E% SMI"
. /lib/svc/share/smf_include.sh
! # Don't start intrd if intrd can't be found or if intrd is already running.
!
! if [ ! -f /usr/lib/intrd ]; then
! echo "$0: intrd daemon not installed"
! exit $SMF_EXIT_ERR_CONFIG
! fi
!
! if /usr/bin/pgrep -x -z global intrd >/dev/null; then
! echo "$0: intrd is already running"
! exit $SMF_EXIT_ERR_FATAL
! fi
! /usr/lib/intrd &
--- 23,43 ----
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
. /lib/svc/share/smf_include.sh
! #
! # Main
! #
! case "$1" in
! 'start')
! #/sbin/uadmin 24 1 >/dev/null 2>&1
! ;;
! 'stop')
! #/sbin/uadmin 24 0 >/dev/null 2>&1
! ;;
! esac;
! exit $SMF_EXIT_OK