$NetBSD: patch-ab,v 1.2 1998/11/24 21:10:02 frueauf Exp $

--- src/main.c.orig	Fri Oct 23 07:20:44 1998
+++ src/main.c	Mon Nov 23 23:06:43 1998
@@ -93,7 +93,7 @@
 /* foreground: use the terminal as a party line? */
 int term_z = 0;
 /* name of the config file */
-char configfile[121] = "egg.config";
+char configfile[121] = __PREFIX__ "/etc/eggdrop.conf";
 /* directory of help files (if used) */
 char helpdir[121];
 /* directory for text files that get dumped */
@@ -513,6 +513,7 @@
    FILE *f;
    struct sigaction sv;
    struct chanset_t * chan;
+   chdir(__PREFIX__ "/share/eggdrop");
    /* initialise context list */
    for (i = 0; i < 16; i++) {
       context;
