pkgsrc/net/upclient/patches/patch-aa
hubertf 9b3ba13c68 Re-Added upclient-4.2.1.23: Keeps track of your server uptime
Upclient is a program that keeps track of your server
uptime, and lets you compare it with the uptime of other
(similar) hosts. It consists of two parts, a client- and a
serverpart. The client runs on your server and sends the
uptime every few minutes to the server. The server
collects all data in a table on this site.

Package re-added after the service formerly offered by uptimes.net
is now again online as http://www.wonko.com/
2002-05-07 22:25:02 +00:00

18 lines
828 B
Text

$NetBSD: patch-aa,v 1.7 2002/05/07 22:25:03 hubertf Exp $
--- src/options.c Sat Jun 16 14:15:04 2001
+++ src/options.c Tue Jun 19 10:48:25 2001
@@ -298,8 +298,11 @@
if(!(fp = fopen("/etc/"CONFIGFILE, "r"))) {
/* Failed, now try to open config file in /usr/local/etc */
if(!(fp = fopen("/usr/local/etc/"CONFIGFILE, "r"))) {
- printf("Error: couldn't open config file %s for reading in:\n- current directory\n- /etc\n- /usr/local/etc\n", CONFIGFILE);
- exit(-1);
+ /* Failed, now try to open config file in /usr/pkg/etc */
+ if (!(fp = fopen("/usr/pkg/etc/"CONFIGFILE, "r"))) {
+ printf("Error: couldn't open config file %s for reading in:\n- current directory\n- /etc\n- /usr/local/etc\n- /usr/pkg/etc\n", CONFIGFILE);
+ exit(-1);
+ }
}
}
}