You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
423 B
21 lines
423 B
#!/bin/bash
|
|
system=`uname -o`
|
|
echo ${system}
|
|
if [ "Cygwin" == ${system} ]; then
|
|
taskkill /F /IM SMCenter.exe
|
|
taskkill /F /IM SMConsole.exe
|
|
taskkill /F /IM SMAgent.exe
|
|
taskkill /F /IM SMAgentUpdater.exe
|
|
taskkill /F /IM SMWebServer.exe
|
|
elif [ $HOSTNAME != "101-tk-game" ] ; then
|
|
killall SMCenter
|
|
killall SMConsole
|
|
killall SMAgent
|
|
killall SMAgentUpdater
|
|
killall SMWebServer
|
|
fi
|
|
|
|
if [ $# = 1 ] ; then
|
|
rm ../log/*
|
|
fi
|
|
|
|
|