Files
client-tools/exe/linux/checkLoginServer_spaceDev.sh
2015-08-04 12:05:18 -05:00

10 lines
257 B
Bash

# ! /bin/sh
#
cd /swg/swg/stage/exe/linux
STATUS=`release/LoginPing -- @sdkswg-15/servercommon.cfg -s SharedNetwork useTcp=false`
if [ "$STATUS" != "Ok" ]; then
/swg/swg/stage/exe/linux/startLoginServer_spaceDev.sh &
echo "LoginServer not responding"
fi