Diff for /doc/loncapafiles/modify_config_files.piml between versions 1.3 and 1.4

version 1.3, 2004/08/23 19:48:48 version 1.4, 2005/10/10 02:30:46
Line 35  http://www.lon-capa.org/ Line 35  http://www.lon-capa.org/
 <file>  <file>
 <target dist="default">/</target>  <target dist="default">/</target>
 <perlscript mode="fg">  <perlscript mode="fg">
   my $mysqldaemon = 'mysqld';
 print "\nUpdating yum and MySQL configuration files\n";  my $configfiles = 'yum and MySQL';
   if ('<DIST />' eq 'suse9.2' || '<DIST />' eq 'suse9.3' || '<DIST />' eq 'sles9') {
        $mysqldaemon = 'mysql';
        $configfiles = 'MySQL';   
   }
   print "\nUpdating $configfiles configuration files\n";
 system("/home/httpd/perl/modify_config_files.pl");  system("/home/httpd/perl/modify_config_files.pl");
 my $returnvalue = $?>>8;  my $returnvalue = $?>>8;
 if ($returnvalue == 1) {  if ($returnvalue == 1) {
     ## the /etc/my.cnf file was modified.      ## the /etc/my.cnf file was modified.
     print "**** WARNING: You need to restart MySQL at this time.\n".      print "**** WARNING: You need to restart MySQL at this time.\n".
         "    Use the command \"/etc/init.d/mysqld restart\"\n";          "    Use the command \"/etc/init.d/$mysqldaemon restart\"\n";
 }  }
 </perlscript>  </perlscript>
 </file>  </file>

Removed from v.1.3  
changed lines
  Added in v.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>