version 1.13, 2011/10/25 13:01:32
|
version 1.14, 2011/10/26 11:48:39
|
Line 74 if (('<DIST />' eq 'fedora15') || ('<DIS
|
Line 74 if (('<DIST />' eq 'fedora15') || ('<DIS
|
exit; |
exit; |
} |
} |
my $value = `/etc/init.d/$NTPD status`; |
my $value = `/etc/init.d/$NTPD status`; |
if ($value !~ /running/) { |
if ($value !~ /pid \d*)/i) { |
print "WARNING: ntp is installed but is not currently running.\nPlease verify the configuration of ntp in /etc/ntp.conf and /etc/ntp/step-tickers\nStart ntp by executing\n /etc/init.d/$NTPD start\n"; |
print "WARNING: ntp is installed but is not currently running.\nPlease verify the configuration of ntp in /etc/ntp.conf and /etc/ntp/step-tickers\nStart ntp by executing\n /etc/init.d/$NTPD start\n"; |
} |
} |
} |
} |