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