33 lines
1.8 KiB
Plaintext
33 lines
1.8 KiB
Plaintext
$NetBSD: patch-aa,v 1.1.1.1 2006/02/14 17:03:54 rillig Exp $
|
|
--- src/config.h.orig 2001-04-24 04:31:29.000000000 +0200
|
|
+++ src/config.h 2004-01-23 02:55:51.745142400 +0100
|
|
@@ -7,16 +7,16 @@
|
|
*/
|
|
|
|
/* Location of the various external files */
|
|
-#define FILE_MOTD "game.motd" /* Message of the Day File */
|
|
-#define FILE_PMOTD "game.pmotd" /* Playback motd */
|
|
-#define FILE_CONF "game.conf" /* Game configuration File */
|
|
-#define FILE_WINLIST "game.winlist" /* Winlist storage file */
|
|
-#define FILE_WINLIST2 "game.winlist2" /* Winlist storage file */
|
|
-#define FILE_WINLIST3 "game.winlist3" /* Winlist storage file */
|
|
+#define FILE_MOTD SHAREDIR "/game.motd" /* Message of the Day File */
|
|
+#define FILE_PMOTD SHAREDIR "/game.pmotd" /* Playback motd */
|
|
+#define FILE_CONF SHAREDIR "/game.conf" /* Game configuration File */
|
|
+#define FILE_WINLIST SHAREDIR "/game.winlist" /* Winlist storage file */
|
|
+#define FILE_WINLIST2 SHAREDIR "/game.winlist2" /* Winlist storage file */
|
|
+#define FILE_WINLIST3 SHAREDIR "/game.winlist3" /* Winlist storage file */
|
|
|
|
-#define FILE_BAN "game.ban" /* List of Banned IP's */
|
|
-#define FILE_BAN_COMPROMISE "game.ban.compromise" /* List of Banned IP's */
|
|
-#define FILE_ALLOW "game.allow" /* List of allow IP's */
|
|
-#define FILE_LOG "game.log" /* Logfile */
|
|
-#define FILE_PID "game.pid" /* Default PID */
|
|
-#define FILE_SECURE "game.secure" /* Security file */
|
|
+#define FILE_BAN SHAREDIR "/game.ban" /* List of Banned IP's */
|
|
+#define FILE_BAN_COMPROMISE SHAREDIR "/game.ban.compromise" /* List of Banned IP's */
|
|
+#define FILE_ALLOW SHAREDIR "/game.allow" /* List of allow IP's */
|
|
+#define FILE_LOG SHAREDIR "/game.log" /* Logfile */
|
|
+#define FILE_PID PREFIX "/tetrinetx.pid" /* Default PID */
|
|
+#define FILE_SECURE SHAREDIR "/game.secure" /* Security file */
|