From 102fb2ca0ec1cfb2cc2869212681bf166cb78a25 Mon Sep 17 00:00:00 2001 From: mellor Date: Mon, 14 Jun 2010 15:27:57 +0000 Subject: [PATCH] HPC Integration - minor fix to pe_install script to only restart pnsd if poscript is not run from genimage git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install index b8e20fe2e..475e31f3d 100755 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install @@ -102,8 +102,10 @@ else else /usr/bin/sed -i 's/log_file_size = .*/log_file_size = 2097152/g' $installroot/etc/PNSD.cfg fi - stopsrc -s pnsd - startsrc -s pnsd + if [ $NODESETSTATE == "install" ] || [ $NODESETSTATE == "boot" ]; then + stopsrc -s pnsd + startsrc -s pnsd + fi fi # Configure the poe.limits file