fix defect :change all logger calls to put xcat msgs into local4 - ID: 3513525

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
immarvin 2012-05-15 03:22:15 +00:00
parent ebcdc7bbcb
commit c12f23ee95

View File

@ -4,7 +4,7 @@ for i in /boot/grub/grub.conf /boot/grub/menu.lst
do
if [ -r "$i" ]
then
logger -t xcat "Install: got GRUB at $i"
logger -t xcat -p local4.info "Install: got GRUB at $i"
GRUB=$i
GRUBDIR=$(dirname $GRUB)
GRUBFILE=$(basename $GRUB)
@ -14,7 +14,7 @@ done
if [ -n "$GRUB" ]
then
logger -t xcat "Install: the GRUB dir is $GRUBDIR"
logger -t xcat -p local4.info "Install: the GRUB dir is $GRUBDIR"
cd $GRUBDIR
perl -pi -e 's/^gfxmenu/#gfxmenu/' $GRUBFILE
perl -pi -e 's/^color/#color/' $GRUBFILE