1
#!/bin/bash
2
[ -n "$1" ] &&
3
{
4
php $(dirname $0)/enanobot.php $@
5
exit $?
6
}
7
while true; do
8
php $(dirname $0)/enanobot.php
9
[ x$? = x2 ] && break
10
done &
11