From 4ab67477d92dd79a44ad7bc0d7c1b5ee2c3246f4 Mon Sep 17 00:00:00 2001 From: linggao Date: Tue, 6 May 2008 20:16:19 +0000 Subject: [PATCH] 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 --- xCATsn/xCATsn.spec | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/xCATsn/xCATsn.spec b/xCATsn/xCATsn.spec index 55401b510..1cd8554cf 100644 --- a/xCATsn/xCATsn.spec +++ b/xCATsn/xCATsn.spec @@ -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