version 1.2, 2004/05/19 16:10:03
|
version 1.3, 2004/06/08 23:16:03
|
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: npt is installed but is not currently running.\n"; |
print "WARNING: ntp is installed but is not currently running.\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`; |