version 1.5, 2006/01/27 21:21:05
|
version 1.6, 2006/01/28 00:52:27
|
Line 46 use lib '/home/httpd/lib/perl/';
|
Line 46 use lib '/home/httpd/lib/perl/';
|
use LONCAPA::Configuration; |
use LONCAPA::Configuration; |
my %perlvar= %{&LONCAPA::Configuration::read_conf('loncapa.conf')}; |
my %perlvar= %{&LONCAPA::Configuration::read_conf('loncapa.conf')}; |
|
|
my $execdir = ($perlvar{'lonDaemons'} =~/(.*)/); |
my ($execdir) = ($perlvar{'lonDaemons'} =~/(.*)/); |
my $dist=`$execdir/distprobe`; |
my $dist=`$execdir/distprobe`; |
if ($dist =~ /^(suse|sles)/) { |
if ($dist =~ /^(suse|sles)/) { |
$command = "/etc/init.d/apache reload"; |
$command = "/etc/init.d/apache reload"; |