xcat-core/xCAT/postscripts/enabledebug
2012-10-31 11:22:00 +00:00

14 lines
295 B
Bash
Executable File

#!/bin/ksh
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
#(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