Last change
on this file since 1281 was
1279,
checked in by scheusso, 17 years ago
|
adapted boost threads in clientconnection
added trap to runscript (xset r, autorepeat)
had to change assff back to assf3 due to some network issues
|
-
Property svn:executable set to
*
|
File size:
655 bytes
|
Rev | Line | |
---|
[775] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | if [[ ! -f orxonox ]] ; then |
---|
| 4 | echo "orxonox does not exist" |
---|
| 5 | echo "did you compile it?" |
---|
| 6 | |
---|
| 7 | exit 1 |
---|
| 8 | fi |
---|
| 9 | |
---|
| 10 | if [[ ! -f orge.cfg ]] ; then |
---|
| 11 | cp ogre.cfg-init ogre.cfg |
---|
| 12 | fi |
---|
| 13 | |
---|
| 14 | # check if plugins.cfg exists, and of not create it |
---|
| 15 | # and modify |
---|
| 16 | if [[ ! -f plugins.cfg ]] ; then |
---|
| 17 | if uname -n | grep "tardis" > /dev/null ; then |
---|
| 18 | sed -e 's:PluginFolder=/usr/lib/OGRE:PluginFolder=/usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/lib/OGRE/:' \ |
---|
| 19 | -e 's:#Plugin=Plugin_CgProgramManager:Plugin=Plugin_CgProgramManager:' plugins.cfg-init > plugins.cfg |
---|
| 20 | else |
---|
| 21 | cp plugins.cfg-init plugins.cfg |
---|
| 22 | fi |
---|
| 23 | fi |
---|
[1279] | 24 | trap "xset r" EXIT HUP INT TERM ABRT |
---|
[775] | 25 | exec ./orxonox $@ |
---|
Note: See
TracBrowser
for help on using the repository browser.