f025b2164e
(now called agiler-old) upses such as the below can now work again: {0x0665, 0x5161, &agiler_old_subdriver}, /* Belkin F6C1200-UNV */ {0x06da, 0x0003, &agiler_old_subdriver}, /* Mustek Powermust */ {0x0f03, 0x0001, &agiler_old_subdriver}, /* Unitek Alpha 1200Sx * ok sthen@
22 lines
730 B
Plaintext
22 lines
730 B
Plaintext
$OpenBSD: patch-clients_upsset_c,v 1.7 2008/09/08 19:38:30 martynas Exp $
|
|
--- clients/upsset.c.orig Fri Feb 22 21:21:11 2008
|
|
+++ clients/upsset.c Wed Aug 27 17:18:49 2008
|
|
@@ -192,7 +192,7 @@ static void do_pickups(const char *currfunc)
|
|
char hostfn[SMALLBUF];
|
|
PCONF_CTX_t ctx;
|
|
|
|
- snprintf(hostfn, sizeof(hostfn), "%s/hosts.conf", confpath());
|
|
+ snprintf(hostfn, sizeof(hostfn), "%s/hosts.conf", cgiconfpath());
|
|
|
|
printf("<FORM METHOD=\"POST\" ACTION=\"upsset.cgi\">\n");
|
|
|
|
@@ -990,7 +990,7 @@ static void check_conf(void)
|
|
char fn[SMALLBUF];
|
|
PCONF_CTX_t ctx;
|
|
|
|
- snprintf(fn, sizeof(fn), "%s/upsset.conf", confpath());
|
|
+ snprintf(fn, sizeof(fn), "%s/upsset.conf", cgiconfpath());
|
|
|
|
pconf_init(&ctx, upsset_conf_err);
|
|
|