minor changes for packaging

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2007-12-11 19:56:37 +00:00
parent b83c08c43e
commit 7f032336fb
2 changed files with 6 additions and 7 deletions

View File

@ -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

View File

@ -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;