version 1.4, 2006/09/28 22:52:43
|
version 1.6, 2007/12/07 06:01:06
|
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') { |
} elsif ('<DIST />' eq 'sles10' || '<DIST />' eq 'suse10.1' || '<DIST />' eq 'suse10.2' || '<DIST />' eq 'suse10.3') { |
$webserver = 'apache2'; |
$webserver = 'apache2'; |
} |
} |
my $command = $chkconfig_bin.' --list '.$webserver; |
my $command = $chkconfig_bin.' --list '.$webserver; |