openbsd-ports/sysutils/apc-upsd/patches/patch-apc_upsd_h
2003-04-26 15:00:32 +00:00

13 lines
505 B
Plaintext

$OpenBSD: patch-apc_upsd_h,v 1.1 2003/04/26 15:00:32 sturm Exp $
--- apc_upsd.h.orig Sat Apr 26 14:22:34 2003
+++ apc_upsd.h Sat Apr 26 14:22:57 2003
@@ -19,7 +19,7 @@
/* ---------------------------------------------------------------------- */
-#define UPS_DEFAULT_CONFIG_FILENAME "/etc/apc-upsd.conf"
+#define UPS_DEFAULT_CONFIG_FILENAME "%%SYSCONFDIR%%/apc-upsd.conf"
#define UPS_IDFILE "/var/run/apc-upsd.pid"
#define UPS_SCR "/sbin/halt"