3 target=`/bin/ps -eo comm|/bin/grep ${program}`
7 if [ "X${target}" == "X" ]; then
8 echo "${program} is not running"
9 echo "Launching ${program}"
13 echo "${program} is already running"
19 if [ "X${target}" == "X" ]; then
20 echo "${program} is not running"
22 echo "${program} is running.. Killing it"
23 /usr/bin/killall ${program}
29 if [ "X${target}" == "X" ]; then
30 echo "${program} is not running"
32 echo "${program} is already running"
47 /bin/echo wifi-direct-server.sh [start] [stop] [status]