12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- #!/bin/sh
- #screen -wipe
- if ! screen -list | grep -q "BernhardFront"; then
- (
- cd BernhardFront/
- # screen -d -m -S BernhardFront python start.py
- python start.py &
- )
- fi
- if ! screen -list | grep -q "Bernhard01"; then
- (
- cd Bernhard01/
- # screen -d -m -S Bernhard01 python core.py
- python core.py &
- )
- fi
- if ! screen -list | grep -q "Bernhard02"; then
- (
- cd Bernhard02/
- # screen -d -m -S Bernhard02 python core.py
- python core.py &
- )
- fi
- if ! screen -list | grep -q "Bernhard03"; then
- (
- cd Bernhard03/
- # screen -d -m -S Bernhard03 python core.py
- python core.py &
- )
- fi
- if ! screen -list | grep -q "Bernhard04"; then
- (
- cd Bernhard04/
- # screen -d -m -S Bernhard04 python core.py
- python core.py &
- )
- fi
|