version 1.2, 2005/10/10 02:30:46
|
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' || '<DIST />' eq 'suse10.1' || '<DIST />' eq 'suse10.2') { |
|
$webserver = 'apache2'; |
} |
} |
my $command = $chkconfig_bin.' --list '.$webserver; |
my $command = $chkconfig_bin.' --list '.$webserver; |
my $results = `$command`; |
my $results = `$command`; |