Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.69 1999/08/05 22:51:16 bash-peter Exp $ + # $Id: start,v 1.70 1999/08/06 16:40:57 grubba Exp $      cd `dirname $0`    - VERSION=4; - BUILD=0 -  +    # Can be set with '--config-dir=DIR'   DIR=../configurations/   LOGDIR=../logs/   FILES="default"   program=base_server/roxenloader.pike   extra_args=""      # Default verbosity level.   verbose=1   
Roxen.git/server/start:133:    # Use the absolute path...    roxendir="`pwd`"    once=1    shift    ;;    -D*|-d*|-s*|-M*|-I*|-P*|-t*)    # Argument passed along to Pike.    DEFINES="$DEFINES $1"    ;;    '--version') -  echo Roxen Challenger 1.$VERSION.$BUILD +  if [ -f base_server/roxen.pike ]; then +  VERSION="`sed <base_server/roxen.pike -e'/__roxen_version__/s/[^0-9]*\([0-9][0-9]*\.[0-9][0-9]*\)[^0-9]*/\1/p' -ed | head -1`" +  BUILD="`sed <base_server/roxen.pike -e'/__roxen_build__/s/[^0-9]*\([0-9][0-9]*\)[^0-9]*/\1/p' -ed | head -1`" +  echo "Roxen Challenger $VERSION.$BUILD"    exit 0 -  +  else +  echo 'base_server/roxen.pike not found!' +  exit 1 +  fi    ;;    '--help'|'-?')    sed -e "s/\\.B/`tput 'bold' 2>/dev/null`/g" -e "s/B\\./`tput 'rmso' 2>/dev/null`/g" << EOF   .BThis command will start the Roxen serverB..      The environment variable .BROXEN_ARGSB. can be used to specify   the default arguments.       .BArguments:B.