version 1.10, 2009/07/14 13:13:26
|
version 1.11, 2011/02/27 18:50:50
|
Line 55 if ($value !~ /running/) {
|
Line 55 if ($value !~ /running/) {
|
# chkconfig barfs to stderr if the target isn't set up right. |
# chkconfig barfs to stderr if the target isn't set up right. |
my $checking_bin; |
my $checking_bin; |
my $restartchk; |
my $restartchk; |
if ('<DIST />' eq 'debian5' || '<DIST />' eq 'ubuntu6' || '<DIST />' eq 'ubuntu8') { |
if ('<DIST />' eq 'debian5' || '<DIST />' eq 'debian6' || '<DIST />' eq 'ubuntu6' || '<DIST />' eq 'ubuntu8' || '<DIST />' eq 'ubuntu10') { |
$checking_bin = '/usr/sbin/sysv-rc-conf'; |
$checking_bin = '/usr/sbin/sysv-rc-conf'; |
} else { |
} else { |
$checking_bin = '/sbin/chkconfig'; |
$checking_bin = '/sbin/chkconfig'; |