From ef42f00cd92509ab6615e67b46ac4757737563eb Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 1 Mar 2011 15:42:57 +0000 Subject: [PATCH] Do not reference xCATSN in the remoteshell and syslog postscripts, use NTYPE=service git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/remoteshell | 2 +- xCAT/postscripts/syslog | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/remoteshell b/xCAT/postscripts/remoteshell index 8f71486c7..5c9396048 100755 --- a/xCAT/postscripts/remoteshell +++ b/xCAT/postscripts/remoteshell @@ -100,7 +100,7 @@ else fi rm /tmp/ssh_rsa_hostkey -if [ -r /etc/xCATSN ] ; then +if [[ $NTYPE = service ]]; then mkdir -p /etc/xcat/hostkeys cp /etc/ssh/ssh* /etc/xcat/hostkeys/. fi diff --git a/xCAT/postscripts/syslog b/xCAT/postscripts/syslog index fcff93555..9334a88ab 100755 --- a/xCAT/postscripts/syslog +++ b/xCAT/postscripts/syslog @@ -29,7 +29,7 @@ config_Rsyslog_C3() isReceiving=0 isLocal=$1 - if [ -f /etc/xCATMN ] || [ -f /etc/xCATSN ] + if [ -f /etc/xCATMN ] || [ $isSN -eq 1 ] then isReceiving=1 fi