version 1.2, 2005/07/07 22:26:52
|
version 1.3, 2005/07/11 15:29:46
|
Line 8
|
Line 8
|
# |
# |
# Change log: |
# Change log: |
# $Log$ |
# $Log$ |
|
# Revision 1.3 2005/07/11 15:29:46 albertel |
|
# - it's like I was drunk |
|
# |
# Revision 1.2 2005/07/07 22:26:52 albertel |
# Revision 1.2 2005/07/07 22:26:52 albertel |
# - suse has apache not httpd |
# - suse has apache not httpd |
# |
# |
Line 37 delete @ENV{qw(IFS CDPATH ENV BASH_ENV)}
|
Line 40 delete @ENV{qw(IFS CDPATH ENV BASH_ENV)}
|
my $command = "/etc/init.d/httpd reload"; |
my $command = "/etc/init.d/httpd reload"; |
my $dist=`$perlvar{'lonDaemons'}/distprobe`; |
my $dist=`$perlvar{'lonDaemons'}/distprobe`; |
if ($dist =~ /^(suse|sles)/) { |
if ($dist =~ /^(suse|sles)/) { |
$command = "/etc/init.d/httpd reload"; |
$command = "/etc/init.d/apache reload"; |
} |
} |
# Do not print error messages |
# Do not print error messages |
my $noprint=1; |
my $noprint=1; |