remove syslog setup portion in xCATsn.spec because syslog postscript will handle it on SN

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1299 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2008-05-06 20:16:19 +00:00
parent d18bca2bff
commit 4ab67477d9

View File

@ -54,17 +54,18 @@ if [ "$1" = "1" ]; then #Only if installing for the first time..
# makes it a service node
touch /etc/xCATSN
# setup syslog
if [ ! -r /etc/syslog.conf.XCATORIG ]; then
cp /etc/syslog.conf /etc/syslog.conf.XCATORIG
echo "*.debug /var/log/messages" > /etc/test.tmp
echo "*.crit /var/log/messages" >> /etc/test.tmp
cat /etc/test.tmp >> /etc/syslog.conf
rm /etc/test.tmp
touch /var/log/messages
# if [ ! -r /etc/syslog.conf.XCATORIG ]; then
# cp /etc/syslog.conf /etc/syslog.conf.XCATORIG
# echo "*.debug /var/log/messages" > /etc/test.tmp
# echo "*.crit /var/log/messages" >> /etc/test.tmp
# cat /etc/test.tmp >> /etc/syslog.conf
# rm /etc/test.tmp
/etc/rc.d/init.d/syslog stop
/etc/rc.d/init.d/syslog start
fi
# touch /var/log/messages
# /etc/rc.d/init.d/syslog stop
# /etc/rc.d/init.d/syslog start
# fi