Roxen.git / server / start

version» Context lines:

Roxen.git/server/start:1:   #!/bin/sh   # - # $Id: start,v 1.197 2002/12/16 14:37:52 grubba Exp $ + # $Id: start,v 1.198 2003/03/03 16:58:49 mast Exp $      ### If --silent-start is given as the first argument,   ### nothing will be printed to stdout by the script.      if [ "x$1" = "x--silent-start" ] ; then    SILENT_START="y"    shift   fi      check_owner() {
Roxen.git/server/start:28:    if [ ! "x$2" = x ]; then    ok=`ls -lgd . 2>/dev/null | grep $2 |wc -l`    ok=`echo $ok`    if [ "x$ok" = x1 ] ; then    dp "The server directory is already readable by group $2"    else    chgrp -R "$2" .    chmod -R g+r .    fi    fi -  change_owner $1 $2 $DIR $VARDIR $LOGDIR +  change_owner "$1" "$2" "$DIR" "$VARDIR" "$LOGDIR"    fi    fi   }         # Breaks on linux when using symlinks.   dn="`dirname $0`"   case "$dn" in    ""|".")    ;;