From 5e6a982b4c28eb06732ec8dbcad2213f6c78ab34 Mon Sep 17 00:00:00 2001 From: Casandra Qiu Date: Thu, 11 Jun 2015 17:02:52 -0400 Subject: [PATCH] Task 46945 Do not run setupntp if it is service node --- xCAT/postscripts/setupntp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xCAT/postscripts/setupntp b/xCAT/postscripts/setupntp index f6191f25c..16d071352 100755 --- a/xCAT/postscripts/setupntp +++ b/xCAT/postscripts/setupntp @@ -18,6 +18,12 @@ if [ -e /etc/xCATMN ]; then logger -t xcat -p local4.info "setupntp:Running on the Management Node , exiting " exit 0 fi +# if on the Server Node, exit, makentp will set up service node +if [ -e /etc/xCATSN ]; then + logger -t xcat -p local4.info "setupntp:Running on the Server Node , exiting " + exit 0 +fi + master=$MASTER setup=0 sitemaster=$SITEMASTER