Use configured resolution for login/outgame/ingame
[ryzomcore.git] / ryzom / tools / scripts / linux / loop_aes.sh
blobbf5ef610feac96c1d7cd0d4c60c58e2fdb003e2f
1 #!/bin/sh -
3 DOMAIN=$(pwd |sed "s%/home/nevrax/%%")
5 while(true)
6 do
7 echo AESAliasName= \"aes_$(hostname -s)\"\; > ./aes_alias_name.cfg
9 if [ $(grep "AESPort[ \t]*=" */*cfg | grep -v debug | sed "s/.*=[ \t]*//" | sort -u | wc -l) -gt 1 ] ; then
10 echo - FIXME: services don\'t agree on AESPort ; read
12 if [ $(grep "AESPort[ \t]*=" */*cfg | grep -v debug | sed "s/.*=[ \t]*//" | sort -u | wc -l) -eq 1 ] ; then
13 echo AESPort=$(grep "AESPort[ \t]*=" */*cfg| grep -v debug | sed "s/.*=[ \t]*//" | sort -u) >> ./aes_alias_name.cfg
16 if [ $(grep "ASPort[ \t]*=" */*cfg | grep -v debug | sed "s/.*=[ \t]*//" | sort -u | wc -l) -gt 1 ] ; then
17 echo - FIXME: services don\'t agree on ASPort ; read
19 if [ $(grep "ASPort[ \t]*=" */*cfg | grep -v debug | sed "s/.*=[ \t]*//" | sort -u | wc -l) -eq 1 ] ; then
20 echo ASPort=$(grep "ASPort[ \t]*=" */*cfg| grep -v debug | sed "s/.*=[ \t]*//" | sort -u) >> ./aes_alias_name.cfg
23 ./live/service_ryzom_admin_service/ryzom_admin_service -A. -C. -L. --nobreak --fulladminname=admin_executor_service --shortadminname=AES
24 sleep 2
25 done