fixed xcatconfig file so that syslog works on AIX

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2288 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2008-10-06 18:51:21 +00:00
parent e6b953689e
commit cdf30a4431

View File

@ -718,6 +718,19 @@ if ((!-r "/etc/xcat/policy.sqlite") || $::FORCE)
}
}
# Make this system a management node
my $cmd = "/bin/touch /etc/xCATMN";
my $outref = xCAT::Utils->runcmd("$cmd", 0);
if ($::RUNCMD_RC != 0)
{
xCAT::MsgUtils->message('E', "Could not create /etc/xCATMN file.\n");
}
else
{
xCAT::MsgUtils->message('I', "Created /etc/xCATMN file.\n");
}
#
# set up syslog
#
@ -910,18 +923,6 @@ else
"Copied $::root/.xcat/* to /install/postscripts/_xcat directory.\n");
}
# Make this system a management node
my $cmd = "/bin/touch /etc/xCATMN";
my $outref = xCAT::Utils->runcmd("$cmd", 0);
if ($::RUNCMD_RC != 0)
{
xCAT::MsgUtils->message('E', "Could not create /etc/xCATMN file.\n");
}
else
{
xCAT::MsgUtils->message('I', "Created /etc/xCATMN file.\n");
}
#
# if there are xcatd processes then stop them
#