add setup ODBC support

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13277 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-07-11 12:22:32 +00:00
parent dd943d36b3
commit 5af109fed3

View File

@ -865,7 +865,7 @@ sub setupODBC
exit(1);
}
# setup the DSN odbc.ini file
$cmd = "fgrep -i xcatdb";
$cmd = "fgrep -i xcatdb $odbcfile";
xCAT::Utils->runcmd($cmd, -1);
if ($::RUNCMD_RC != 0) # then xcat entry not there
{