Diff for /loncom/init.d/loncontrol between versions 1.34 and 1.34.2.1

version 1.34, 2009/02/02 17:06:55 version 1.34.2.1, 2010/01/13 19:26:54
Line 67  $ENV{'BASH_ENV'}=""; Line 67  $ENV{'BASH_ENV'}="";
  }   }
     }      }
     my $suse_config = "/etc/sysconfig/SuSEfirewall2";      my $suse_config = "/etc/sysconfig/SuSEfirewall2";
     if (!-e $suse_config) {      if (-e $suse_config) {
           $fw_chain = 'input_ext';
       } else {
         if (!-e '/etc/sysconfig/iptables') {          if (!-e '/etc/sysconfig/iptables') {
             print("Unable to find iptables file containing static definitions\n");              print("Unable to find iptables file containing static definitions\n");
         }          }
     }      }
       if (-e $iptables) {
           my $count = `$iptables -L -n 2>/dev/null |grep $fw_chain |wc -l`;
           chomp($count);
           if (!$count) {
               $fw_chain ='INPUT';
           }
       }
     my $lond_port = &get_lond_port();      my $lond_port = &get_lond_port();
     if (!$lond_port) {      if (!$lond_port) {
         print("Unable to determine lond port number from LON-CAPA configuration.\n");          print("Unable to determine lond port number from LON-CAPA configuration.\n");

Removed from v.1.34  
changed lines
  Added in v.1.34.2.1


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