version 1.3, 2006/09/15 20:51:56
|
version 1.5, 2007/04/22 16:33:28
|
Line 43 my @runlevels = qw/3 4 5/;
|
Line 43 my @runlevels = qw/3 4 5/;
|
if ('<DIST />' eq 'suse9.3' || '<DIST />' eq 'suse9.2' || '<DIST />' eq 'sles9') { |
if ('<DIST />' eq 'suse9.3' || '<DIST />' eq 'suse9.2' || '<DIST />' eq 'sles9') { |
$webserver = 'apache'; |
$webserver = 'apache'; |
@runlevels = qw/3 5/; |
@runlevels = qw/3 5/; |
} elsif ('<DIST />' eq 'sles10') { |
} elsif ('<DIST />' eq 'sles10' || '<DIST />' eq 'suse10.1' || '<DIST />' eq 'suse10.2') { |
$webserver = 'apache2'; |
$webserver = 'apache2'; |
} |
} |
my $command = $chkconfig_bin.' --list '.$webserver; |
my $command = $chkconfig_bin.' --list '.$webserver; |