#!/bin/sh # start/stop an application # 2014-07-29 09:45 created by niujiuru APP_NAME="rtu_xy_v.out" start() { chmod a+x ${APPBINS_PATH}/${APP_NAME} ${APPBINS_PATH}/${APP_NAME} & } stop() { kill_programs ${APP_NAME} 9 }