minor fix in monitoring code

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1794 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2008-06-27 00:37:02 +00:00
parent dc01d7e2a3
commit 4c6e7af13b

View File

@ -26,11 +26,9 @@ if [ ! -e /usr/bin/lsrsrc ]; then
exit 1;
fi
#stop rsct daemons
/usr/sbin/rsct/bin/rmcctrl -z
#ask RMC take the new nodeid
if [[ $NODEID != "" ]]; then
/usr/sbin/rsct/bin/rmcctrl -z
if [ -e /var/ct/cfg/ct_node_id ]; then
sed -i s/^[^\#].*$/$NODEID/ /var/ct/cfg/ct_node_id
else