version 1.4, 2005/10/31 16:13:45
|
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 $dist=`$perlvar{'lonDaemons'}/distprobe`; |
my ($execdir) = ($perlvar{'lonDaemons'} =~/(.*)/); |
|
my $dist=`$execdir/distprobe`; |
if ($dist =~ /^(suse|sles)/) { |
if ($dist =~ /^(suse|sles)/) { |
$command = "/etc/init.d/apache reload"; |
$command = "/etc/init.d/apache reload"; |
} |
} |