Diff for /loncom/init.d/loncontrol between versions 1.37 and 1.38

version 1.37, 2009/06/10 23:51:46 version 1.38, 2009/07/06 00:07:15
Line 119  if ($command eq "restart") { Line 119  if ($command eq "restart") {
     system("su www -c '/home/httpd/perl/loncron --justcheckdaemons'");      system("su www -c '/home/httpd/perl/loncron --justcheckdaemons'");
 } elsif (($command eq "stop") || ($command eq 'start') || ($command eq 'status')) {  } elsif (($command eq "stop") || ($command eq 'start') || ($command eq 'status')) {
     my $iptables = &LONCAPA::Firewall::get_pathto_iptables();      my $iptables = &LONCAPA::Firewall::get_pathto_iptables();
     my $fw_chain = &LONCAPA::Firewall::get_fw_chain();      my $fw_chain = &LONCAPA::Firewall::get_fw_chain($iptables);
     my $lond_port = &LONCAPA::Firewall::get_lond_port();      my $lond_port = &LONCAPA::Firewall::get_lond_port();
     my %iphost = &Apache::lonnet::get_iphost();      my %iphost = &Apache::lonnet::get_iphost();
     if ($command eq 'stop') {      if ($command eq 'stop') {

Removed from v.1.37  
changed lines
  Added in v.1.38


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