Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
[SSI] openssi/sysvinit/debian/sysv-rc/sbin invoke-rc.d,1.1.5.1.2.1,1.1.5.1.: msg#00065
|
Subject: |
[SSI] openssi/sysvinit/debian/sysv-rc/sbin invoke-rc.d,1.1.5.1.2.1,1.1.5.1.2.2 |
Update of /cvsroot/ssic-linux/openssi/sysvinit/debian/sysv-rc/sbin
In directory sc8-pr-cvs1:/tmp/cvs-serv32105/sysvinit/debian/sysv-rc/sbin
Modified Files:
Tag: OPENSSI-DEBIAN
invoke-rc.d
Log Message:
debian clusterwide runlevel changes
Index: invoke-rc.d
===================================================================
RCS file:
/cvsroot/ssic-linux/openssi/sysvinit/debian/sysv-rc/sbin/Attic/invoke-rc.d,v
retrieving revision 1.1.5.1.2.1
retrieving revision 1.1.5.1.2.2
diff -C2 -d -r1.1.5.1.2.1 -r1.1.5.1.2.2
*** invoke-rc.d 5 Dec 2003 00:50:44 -0000 1.1.5.1.2.1
--- invoke-rc.d 8 Dec 2003 23:52:38 -0000 1.1.5.1.2.2
***************
*** 228,232 ****
if clusternode_num > /dev/null 2>&1 ; then
SSI="Y"
! INITNODE="`cat /proc/1/where`"
fi
--- 228,232 ----
if clusternode_num > /dev/null 2>&1 ; then
SSI="Y"
! DBLOCK="/etc/init.d/debian.lock"
fi
***************
*** 446,457 ****
setechoactions ${ACTION}
# SSI_XXX
- ONCLASS=""
- if [ -n "${SSI}" ]; then
- if grep ^${INITSCRIPTID}$ /etc/rc.info > /dev/null ; then
- ONCLASS=onall
- else
- ONCLASS="onnode $INITNODE"
- fi
- fi
while test ! -z "${ACTION}" ; do
getnextaction ${ACTION}
--- 446,449 ----
***************
*** 459,463 ****
printerror executing initscript action \"${saction}\"...
fi
! ${ONCLASS} "${INITDPREFIX}${INITSCRIPTID}" "${saction}" "$@"
RC=$?
if [ -n "${SSI}" -a "${RC}" = "0" ]; then
--- 451,474 ----
printerror executing initscript action \"${saction}\"...
fi
!
! #SSI_XXX
! if [ -n "${SSI}" ]; then
! if [ "${saction}" = "start" ] || [ "${saction}" = "restart"
]; then
! CLASS=`grep ^${INITSCRIPTID}[[:blank:]]
/etc/rc.nodeinfo | awk {'print $2'}`
! if [ -n "$CLASS" ]; then
! # CWIDE clusterwide
! CWIDE="/bin/onclass --procview=local $CLASS
$DBLOCK"
! else
! printerror "WARNING: Service ${INITSCRIPTID}
has no entry in rc.nodeinfo"
! fi
! elif [ "${saction}" = "stop" ] || [ "${saction}" =
"force-stop" ]; then
! CWIDE="/bin/onsvc --procview=local ${INITSCRIPTID}
$DBLOCK"
! fi
! fi
!
!
! ${CWIDE} "${INITDPREFIX}${INITSCRIPTID}" "${saction}" "$@"
!
! #SSI_XXX
RC=$?
if [ -n "${SSI}" -a "${RC}" = "0" ]; then
***************
*** 471,474 ****
--- 482,487 ----
exit 0;
fi
+
+
# If Success exit see the beginning of test loop above
if [ "${RC}" = "0" ]; then
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
|
| |