version 1.4, 2005/10/10 02:30:46
|
version 1.6, 2006/09/28 22:52:43
|
Line 37 http://www.lon-capa.org/
|
Line 37 http://www.lon-capa.org/
|
<perlscript mode="fg"> |
<perlscript mode="fg"> |
my $mysqldaemon = 'mysqld'; |
my $mysqldaemon = 'mysqld'; |
my $configfiles = 'yum and MySQL'; |
my $configfiles = 'yum and MySQL'; |
if ('<DIST />' eq 'suse9.2' || '<DIST />' eq 'suse9.3' || '<DIST />' eq 'sles9') { |
if ('<DIST />' eq 'suse9.2' || '<DIST />' eq 'suse9.3' || '<DIST />' eq 'sles9' || '<DIST />' eq 'sles10' || '<DIST />' eq 'suse10.1') { |
$mysqldaemon = 'mysql'; |
$mysqldaemon = 'mysql'; |
$configfiles = 'MySQL'; |
$configfiles = 'MySQL'; |
|
} elsif ('<DIST />' eq 'rhes4') { |
|
$configfiles = 'MySQL'; |
} |
} |
print "\nUpdating $configfiles configuration files\n"; |
print "\nUpdating $configfiles configuration files\n"; |
system("/home/httpd/perl/modify_config_files.pl"); |
system("/home/httpd/perl/modify_config_files.pl"); |