Put a check in so that if remoteshell is run on the MN, it just exits
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4003dd69d8
commit
86fd3ae7b0
@ -2,6 +2,11 @@
|
||||
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
|
||||
#(C)IBM Corp
|
||||
#
|
||||
# if on the Management Node, exit
|
||||
if [ -e /etc/xCATMN ]; then
|
||||
logger -t xcat -p local4.info "Running on the Management Node , exiting "
|
||||
exit 0
|
||||
fi
|
||||
# Linux or if AIX call aixremoteshell -d
|
||||
if [ "$(uname -s)" = "AIX" ]; then
|
||||
./aixremoteshell -d 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user