version 1.3, 2004/06/08 23:16:03
|
version 1.4, 2004/07/06 20:52:18
|
Line 43 if (! -e "/etc/init.d/ntpd") {
|
Line 43 if (! -e "/etc/init.d/ntpd") {
|
} |
} |
my $value = `/etc/init.d/ntpd status`; |
my $value = `/etc/init.d/ntpd status`; |
if ($value !~ / running/) { |
if ($value !~ / running/) { |
print "WARNING: ntp is installed but is not currently running.\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"; |
} |
} |
# 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 $restartchk = `/sbin/chkconfig --list ntpd 2>/dev/null`; |
my $restartchk = `/sbin/chkconfig --list ntpd 2>/dev/null`; |