1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/net/netsaint-plugins/files/patch-ac
Ying-Chieh Liao bd994ab71e upgrade netsaint -> 0.0.7b4, netsaint-plugins -> 1.2.9.4
change maintainer email address

PR:		27012, 27013
Submitted by:	MAINTAINER
2001-05-17 06:02:17 +00:00

13 lines
492 B
Plaintext

--- plugins-scripts/check_ntp.pl.orig Mon Apr 23 19:43:00 2001
+++ plugins-scripts/check_ntp.pl Sun Apr 29 18:38:26 2001
@@ -154,7 +154,8 @@
###
###
-if (open(NTPDC,"/usr/sbin/xntpdc -c peers $host 2>&1 |") ) {
+if (open(NTPDC,"/usr/sbin/xntpdc -c peers $host 2>&1 |") ||
+ open(NTPDC,"/usr/sbin/ntpdc -c peers $host 2>&1 |")) {
while (<NTPDC>) {
print if ($verbose);
if (/([^\s]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)/) {