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:
parent
d18bca2bff
commit
4ab67477d9
@ -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
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user