2007-10-26 22:44:33 +00:00
|
|
|
#!/bin/ksh
|
|
|
|
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
#egan@us.ibm.com
|
|
|
|
#(C)IBM Corp
|
|
|
|
#
|
2010-04-06 08:17:04 +00:00
|
|
|
echo "$0: the OS version is $OSVER" | logger -t xcat
|
2007-10-26 22:44:33 +00:00
|
|
|
case $OSVER in
|
|
|
|
sles*|suse*|ul*)
|
|
|
|
perl -pi -e 's/^KERNEL_LOGLEVEL=1/KERNEL_LOGLEVEL=8/' /etc/sysconfig/syslog
|
|
|
|
;;
|
|
|
|
rh*)
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|