From 7f032336fba4fbf3a1c62424df53be01625ebe1b Mon Sep 17 00:00:00 2001 From: linggao Date: Tue, 11 Dec 2007 19:56:37 +0000 Subject: [PATCH] minor changes for packaging git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client-2.0/xCAT-client.spec | 1 - xCAT-server-2.0/sbin/xcatnodemon | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/xCAT-client-2.0/xCAT-client.spec b/xCAT-client-2.0/xCAT-client.spec index 11f22f8a8..a4aa5dd2a 100644 --- a/xCAT-client-2.0/xCAT-client.spec +++ b/xCAT-client-2.0/xCAT-client.spec @@ -122,7 +122,6 @@ chmod 755 /etc/profile.d/xcat.* %ifos linux if [ $1 == 0 ]; then #This means only on -e rm /etc/profile.d/xcat.* -unset XCATROOT fi %endif diff --git a/xCAT-server-2.0/sbin/xcatnodemon b/xCAT-server-2.0/sbin/xcatnodemon index 256a5b3b9..a83897c76 100755 --- a/xCAT-server-2.0/sbin/xcatnodemon +++ b/xCAT-server-2.0/sbin/xcatnodemon @@ -14,8 +14,8 @@ use xCAT_monitoring::monitorctrl; # chtab pname=xCAT monitoring.nodestatmon=Y ################################################################## -($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); -printf "%2d-%02d-%04d %02d:%02d:%02d: xcatnodemon started.\n", $mon+1,$mday,$year+1900,$hour,$min,$sec; +#($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); +#printf "%2d-%02d-%04d %02d:%02d:%02d: xcatnodemon started.\n", $mon+1,$mday,$year+1900,$hour,$min,$sec; #get saved node status from the nodelist table my %nodes_status_old=xCAT_monitoring::monitorctrl::getNodeStatus(); @@ -43,8 +43,8 @@ my $changed4=$nodes_status_new3{$::STATUS_ACTIVE}; my @changed_active=(@$changed2, @$changed4); my @changed_inactive=(@$changed1, @$changed3); -print " switch to active: @changed_active\n"; -print " switch to inactive: @changed_inactive\n"; +#print " switch to active: @changed_active\n"; +#print " switch to inactive: @changed_inactive\n"; my %node_status=(); if (@changed_active>0) { @@ -59,8 +59,8 @@ if (keys(%node_status) > 0) { xCAT_monitoring::monitorctrl::processNodeStatusChanges(\%node_status); } -($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); -printf "%2d-%02d-%04d %02d:%02d:%02d: xcatnodemon finished.\n\n", $mon+1,$mday,$year+1900,$hour,$min,$sec; +#($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); +#printf "%2d-%02d-%04d %02d:%02d:%02d: xcatnodemon finished.\n\n", $mon+1,$mday,$year+1900,$hour,$min,$sec;