2 PATH=/bin:/usr/bin:/sbin:/usr/sbin
5 target=`/bin/ps -eo comm|/bin/grep ${program}`
9 if [ "X${target}" == "X" ]; then
10 echo "${program} is not running"
11 echo "Launching ${program}"
15 echo "${program} is already running"
21 if [ "X${target}" == "X" ]; then
22 echo "${program} is not running"
24 echo "${program} is running.. Killing it"
25 @BIN_DIR@/pkill -x ${program}
31 if [ "X${target}" == "X" ]; then
32 echo "${program} is not running"
34 echo "${program} is already running"
49 /bin/echo wifi-direct-server.sh [start] [stop] [status]