/ / my $mysqldaemon = 'mysqld'; my $configfiles = 'yum and MySQL'; if ('' eq 'suse9.2' || '' eq 'suse9.3' || '' eq 'sles9' || '' eq 'sles10' || '' eq 'sles11' || '' eq 'suse10.1' || '' eq 'suse10.2' || '' eq 'suse10.3' || '' eq 'suse11.1' || '' eq 'suse11.2' || '' eq 'suse11.3') { $mysqldaemon = 'mysql'; $configfiles = 'MySQL'; } elsif ('' eq 'rhes4') { $configfiles = 'MySQL'; } elsif ('' eq 'debian5' || '' eq 'ubuntu6' || '' eq 'ubuntu8') { $configfiles = 'Apt and MySQL'; $mysqldaemon = 'mysql'; } print "\nUpdating $configfiles configuration files\n"; system("/home/httpd/perl/modify_config_files.pl"); my $returnvalue = $?>>8; if ($returnvalue == 1) { ## the /etc/my.cnf file was modified. print "**** WARNING: You need to restart MySQL at this time.\n". " Use the command \"/etc/init.d/$mysqldaemon restart\"\n"; }