start_mud.2

skylib_mudos_v1/bin/start_mud.2 · 435 B

From the archive skylib_mudos_v1.tar.gz

Download the archive   « Back to the archive contents

#!/bin/bash

PWD=/home/skylib/bin/

if [ -f ${PWD}/info ]; then
  . ${PWD}/info
  fi

while( true ) do
  if [ -f ${ELOG} ]; then
    if [ -f ${ELOG}.old ]; then
      rm ${ELOG}.old
      fi
    mv ${ELOG} ${ELOG}.old
    fi

  if [ -f ${DLOG} ]; then
    if [ -f ${DLOG}.old ]; then
      rm ${DLOG}.old
      fi
    mv ${DLOG} ${DLOG}.old
    fi

  if [ -f ${CORE} ]; then
    rm ${CORE}
    fi

  ${BIND}driver ${BIND}config;
done;

Site Stats

Snippets: 1791
Codebases: 571