Diff for /loncom/apachereload between versions 1.1 and 1.2

version 1.1, 2003/09/30 10:06:48 version 1.2, 2005/07/07 22:26:52
Line 8 Line 8
 #  #
 #  Change log:  #  Change log:
 #   $Log$  #   $Log$
   #   Revision 1.2  2005/07/07 22:26:52  albertel
   #   - suse has apache not httpd
   #
 #   Revision 1.1  2003/09/30 10:06:48  foxr  #   Revision 1.1  2003/09/30 10:06:48  foxr
 #   This is a setuid script that allows the www user to issue  #   This is a setuid script that allows the www user to issue
 #   /etc/init.d/httpd reload  #   /etc/init.d/httpd reload
Line 32  $ENV{'PATH'}='/bin:/usr/bin:/usr/local/s Line 35  $ENV{'PATH'}='/bin:/usr/bin:/usr/local/s
 delete @ENV{qw(IFS CDPATH ENV BASH_ENV)}; # nullify potential taints  delete @ENV{qw(IFS CDPATH ENV BASH_ENV)}; # nullify potential taints
   
 my $command = "/etc/init.d/httpd reload";  my $command = "/etc/init.d/httpd reload";
   my $dist=`$perlvar{'lonDaemons'}/distprobe`;
   if ($dist =~ /^(suse|sles)/) {
       $command = "/etc/init.d/httpd reload";
   }
 # Do not print error messages  # Do not print error messages
 my $noprint=1;  my $noprint=1;
   

Removed from v.1.1  
changed lines
  Added in v.1.2


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