enanobot
author Dan
Mon, 05 Jan 2009 22:29:36 -0500
changeset 44 73f74d395f95
parent 8 0acb8d9a3194
permissions -rwxr-xr-x
Added theme support. Oh yeah, you can customize graphs using graph_{line,bar}.def.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     1
#!/bin/bash
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     2
[ -n "$1" ] &&
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     3
{
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     4
  php $(dirname $0)/enanobot.php $@
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     5
  exit $?
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     6
}
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     7
while true; do
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     8
  php $(dirname $0)/enanobot.php
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
     9
  [ x$? = x2 ] && break
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
    10
done &
0acb8d9a3194 Welcome, modularization and stats.
Dan
parents:
diff changeset
    11