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
|
|
|
|
#
|
2012-05-15 06:58:51 +00:00
|
|
|
echo "$0: the OS version is $OSVER" | logger -t xcat -p local4.info
|
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
|
|
|
|
|