xcat-core/xCAT/postscripts/enabledebug

15 lines
312 B
Plaintext
Raw Normal View History

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