From 1a09868a58c3b5589b96eddbdb83b69b94d8b542 Mon Sep 17 00:00:00 2001
From: Per Cederqvist <ceder@lysator.liu.se>
Date: Wed, 12 Jan 1994 01:48:06 +0000
Subject: [PATCH] (CONFIG_FILE): New constant.

---
 src/server/server-config.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/server/server-config.c b/src/server/server-config.c
index 75bb23fcd..04daa65ed 100644
--- a/src/server/server-config.c
+++ b/src/server/server-config.c
@@ -1,5 +1,5 @@
 /*
- * $Id: server-config.c,v 0.22 1993/10/10 17:01:54 ceder Exp $
+ * $Id: server-config.c,v 0.23 1994/01/12 01:48:06 ceder Exp $
  * Copyright (C) 1991  Lysator Academic Computer Association.
  *
  * This file is part of the LysKOM server.
@@ -29,7 +29,7 @@
  *  to recompile the entire server.
  */
 
-static char *rcsid = "$Id: server-config.c,v 0.22 1993/10/10 17:01:54 ceder Exp $";
+static char *rcsid = "$Id: server-config.c,v 0.23 1994/01/12 01:48:06 ceder Exp $";
 #include "rcs.h"
 USE(rcsid);
 
@@ -40,11 +40,13 @@ USE(rcsid);
 /* Where to save things. These are used by lyskomd and dbck. */
 
 /*
- * DEFAULT_DBASE_DIR can be overriden by giving -Ddir to lyskomd or dbck.
+ * DEFAULT_DBASE_DIR can be overriden in the config file.  The default 
+ * config file is found in DEFAULT_DBASE_DIR/CONFIG_FILE.
  */
 
 const char * DEFAULT_DBASE_DIR = "/usr/lyskom";
 
+const char *CONFIG_FILE = "etc/config";
 /*
  * Note: if you change any of the following three names you will have
  * to change the name of the real files in db-nocrypt/db/ also.
-- 
GitLab