From 998ccbd977b1573d153f6754ae7e99e6989edfd5 Mon Sep 17 00:00:00 2001 From: linggao Date: Tue, 3 Feb 2009 17:16:17 +0000 Subject: [PATCH] bug fix in xCAT-server.spec git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/xCAT-server.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xCAT-server/xCAT-server.spec b/xCAT-server/xCAT-server.spec index 14c9f8f13..ce6948a79 100644 --- a/xCAT-server/xCAT-server.spec +++ b/xCAT-server/xCAT-server.spec @@ -163,9 +163,10 @@ else echo "Unable to register init scripts on this system" fi if [ "$1" -gt "1" ]; then #only on upgrade... + #migration issue for monitoring + XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/chtab filename=monitorctrl.pm notification -d + if [ -f "/proc/cmdline" ]; then # prevent running it during install into chroot image - #migration issue for monitoring - XCATROOT=$RPM_INSTALL_PREFIX0 $RPM_INSTALL_PREFIX0/sbin/chtab filename=monitorctrl.pm notification -d /etc/init.d/xcatd restart fi fi