if [ "$1" = "quartzPro5" ]; then echo "stop quartzPro5......" sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/quartzPro5/shutdown.sh elif [ "$1" = "ifish6" ]; then echo "stop ifish6......" sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifish6/shutdown.sh elif [ "$1" = "ifish7" ]; then echo "stop ifish7......" sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifish7/shutdown.sh elif [ "$1" = "ifishSystem8" ]; then echo "stop ifishSystem8......" sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifishSystem8/shutdown.sh elif [ "$1" = "ifishSocket9" ]; then echo "stop ifishSocket9......" sh /usr/local/apache-tomcat-7.0.64/tomcat-instance/ifishSocket9/shutdown.sh else echo "parameter error" fi