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:
parent
dc01d7e2a3
commit
4c6e7af13b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user