View Single Post
  #3  
Old 05-18-2004, 03:37 AM
Doodman's Avatar
Doodman
Developer
 
Join Date: Aug 2003
Posts: 246
Default

Either that, or start them from init by setting up lines in your inittab:

(This is just a types in example, btw, your milage may vary)
Code:
#  World
w1:b:respawn:/usr/local/bin/startworld
# Zones
z1:c:respawn:/usr/local/bin/startzone . 1.1.1.1 7001 1.1.1.1
z2:c:respawn:/usr/local/bin/startzone . 1.1.1.1 7002 1.1.1.1
z3:c:respawn:/usr/local/bin/startzone . 1.1.1.1 7003 1.1.1.1
z4:c:respawn:/usr/local/bin/startzone . 1.1.1.1 7004 1.1.1.1
startworld:
Code:
#!/bin/bash
cd /path/to/eqemu
export LD_LIBRARY_PATH=.
./world
startzone:
Code:
#!/bin/bash
cd /path/to/eqemu
export LD_LIBRARY_PATH=.
./zone $*
To start world:
Code:
/sbin/telinit b
To start zones:
Code:
/sbin/telinit c
Again, just typed in, but you get the idea.
Reply With Quote