make it pretty and make LOC_DGLROOT customizable to customize everything else

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@4 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Joshua Kwan 2003-12-30 22:41:35 +00:00
parent f43227eb3c
commit e70ddd377d
1 changed files with 8 additions and 7 deletions

View File

@ -16,12 +16,13 @@ struct dg_user
#define SHED_GID 1031 /* the gid to shed privs to */
#define MAXUSERS 64000 /* solves some preallocation issues. */
#define LOC_CHROOT "/var/lib/dgamelaunch/"
#define LOC_NETHACK "/bin/nethack"
#define LOC_DGLDIR "/dgldir/rcfiles/"
#define LOC_TTYRECDIR "/dgldir/ttyrec/"
#define LOC_INPROGRESSDIR "/dgldir/inprogress/"
#define LOC_SPOOLDIR "/var/mail"
#define LOC_CANNED "/dgl-default-rcfile"
#define LOC_CHROOT "/var/lib/dgamelaunch/"
#define LOC_NETHACK "/bin/nethack"
#define LOC_DGLROOT "/dgldir/"
#define LOC_DGLDIR LOC_DGLROOT "rcfiles/"
#define LOC_TTYRECDIR LOC_DGLROOT "ttyrec/"
#define LOC_INPROGRESSDIR LOC_DGLROOT "inprogress/"
#define LOC_SPOOLDIR "/var/mail"
#define LOC_CANNED "/dgl-default-rcfile"
#endif