Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.66 1999/05/25 15:53:28 mast Exp $ + # $Id: start,v 1.67 1999/05/25 20:45:46 grubba Exp $      cd `dirname $0`      VERSION=4;   BUILD=0      # Can be set with '--config-dir=DIR'   DIR=../configurations/   LOGDIR=../logs/   FILES="default"
Roxen.git/server/start:39:    DEFINES="$DEFINES -DENABLE_THREADS"    if $pike --version 2>&1|head -1|grep 0.5 ; then    if [ $verbose -gt 0 ] ; then    echo Pike 0.5 detected. Threads disabled    fi    DEFINES="`echo $DEFINES | sed -e 's/-DENABLE_THREADS//'`"    fi    fi   fi    + gdb=no      ## Parse all arguments.   ## GNU-style, long options only, except for -D, simply passed on.   parse_args() {    while [ ! c"$1" = "c" ] ; do    case $1 in    -D*)    DEFINES="$DEFINES $1"    ;;   # Used by the 'install' script
Roxen.git/server/start:327:      # Extra kludge for HPUX   # HPUX doesn't like group 60001(nobody)   if uname | grep 'HP-UX' >/dev/null 2>&1; then    if [ $verbose -gt 0 ]; then    echo 'WARNING: Applying kludge for HPUX. (see base_server/privs.pike)'    else :; fi    DEFINES="$DEFINES -DHPUX_KLUDGE"   fi    - gdb=no -  +    ####### END PIKE OPTIONS         #   # Some useful functions   #      rotate () {    b=5;    for a in 4 3 2 1 ; do mv -f $1.$a $1.$b 2> /dev/null; b=$a; done