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
This commit is contained in:
lissav 2011-03-01 15:42:57 +00:00
parent 9b5e97a927
commit ef42f00cd9
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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