add copy of cfgloc

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-04-15 15:12:03 +00:00
parent ed718151f9
commit 461d249018

View File

@ -114,9 +114,11 @@ sub copyCertstoSN
return 1;
}
if (-d "/xcatpost/sysconfig")
`cp /xcatpost/etc/xcat/cfgloc /etc/xcat/cfgloc`;
chmod 0600, "/etc/xcat/cfgloc";
if (-d "/xcatpost/etc/sysconfig")
{
`cp /xcatpost/sysconfig/xcat /etc/sysconfig`;
`cp /xcatpost/etc/sysconfig/xcat /etc/sysconfig`;
chmod 0700, "/etc/sysconfig/xcat";
}
else