add call to runsqlcmd to xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
8f3df21db1
commit
87a696b516
@ -152,10 +152,15 @@ $progname = \$0;
|
||||
|
||||
#create the user defined external database tables if they do not exist.
|
||||
#update the tables if there are schema changes.
|
||||
# runsqlcmd runs sql scripts provided by the user in
|
||||
# /opt/xcat/lib/perl/xCAT_schema
|
||||
|
||||
if (xCAT::Utils->isMN()) {
|
||||
xCAT::ExtTab->updateTables();
|
||||
`$::XCATROOT/sbin/runsqlcmd`;
|
||||
}
|
||||
|
||||
|
||||
sub daemonize {
|
||||
chdir('/');
|
||||
umask 0022;
|
||||
|
Loading…
Reference in New Issue
Block a user