From ee3483e1fa5ce3c4faf089047200d4f35c0e97ab Mon Sep 17 00:00:00 2001 From: Adam David Date: Thu, 16 Jan 1997 11:48:01 +0000 Subject: preconfigure the run files --- net/dgd-lpmud/files/patch-ab | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 net/dgd-lpmud/files/patch-ab (limited to 'net/dgd-lpmud/files/patch-ab') diff --git a/net/dgd-lpmud/files/patch-ab b/net/dgd-lpmud/files/patch-ab new file mode 100644 index 000000000000..ec90d272f325 --- /dev/null +++ b/net/dgd-lpmud/files/patch-ab @@ -0,0 +1,44 @@ +*** rundgd.old Thu Jan 16 03:13:15 1997 +--- rundgd Thu Jan 16 03:28:42 1997 +*************** +*** 1,10 **** + #!/bin/sh + + passwd=HNAMEPASS + while true + do +! mv 2.4.5/lpmud.log 2.4.5/lpmud.log.old +! date > 2.4.5/lpmud.log +! hname 6047 $passwd & +! driver lpmud.dgd >> 2.4.5/lpmud.log 2>&1 + done > /dev/null 2>&1 +--- 1,11 ---- + #!/bin/sh + ++ dgd=/usr/local/dgd ++ cd $dgd/lpmud-2.4.5 + passwd=HNAMEPASS + while true + do +! mv lpmud.log lpmud.log.old +! date > lpmud.log +! $dgd/bin/hname 6047 $passwd & +! $dgd/bin/driver $dgd/lpmud.dgd >> lpmud.log 2>&1 + done > /dev/null 2>&1 +*** lpmud.dgd.old Thu Jan 16 03:10:34 1997 +--- lpmud.dgd Thu Jan 16 03:13:00 1997 +*************** +*** 1,6 **** + telnet_port = 2000; /* telnet port number */ + binary_port = 1999; /* binary port number */ +! directory = "/usr/local/mud/2.4.5";/* base directory (MUST be absolute) */ + users = 40; /* max # of users */ + editors = 41; /* max # of editor sessions */ + ed_tmpfile = "../tmp/ed"; /* proto editor tmpfile */ +--- 1,6 ---- + telnet_port = 2000; /* telnet port number */ + binary_port = 1999; /* binary port number */ +! directory = "/usr/local/dgd/lpmud-2.4.5";/* base directory (MUST be absolute) */ + users = 40; /* max # of users */ + editors = 41; /* max # of editor sessions */ + ed_tmpfile = "../tmp/ed"; /* proto editor tmpfile */ -- cgit v1.2.3