[Feature][T8TSK-202][wifi] modify start scirpts

Change-Id: I886ed9cd2600cd7929624c0e03ecc5b37b80e82f
diff --git a/src/lynq/lib/liblynq-wifi6/scripts/start_stop_sta.sh b/src/lynq/lib/liblynq-wifi6/scripts/start_stop_sta.sh
index 5f33520..d04e04c 100755
--- a/src/lynq/lib/liblynq-wifi6/scripts/start_stop_sta.sh
+++ b/src/lynq/lib/liblynq-wifi6/scripts/start_stop_sta.sh
@@ -5,12 +5,12 @@
         if [ $? != 0 ]; then
                 exit 1
         fi
-		ps -ef | grep "dhcpcd wlan0" | grep -v grep
+		ps -eo "%p %a" | grep "dhcpcd wlan0" | grep -v grep
 		if [ $? != 0 ];	then
 			dhcpcd wlan0 -t 0 -o domain_name_servers --noipv4ll -B -G &
 		fi
 elif [ "$1" == "stop" ]; then
-        ps -ef | grep "dhcpcd wlan0" | grep -v grep | awk '{print $2}' | xargs kill
+        ps -eo "%p %a" | grep "dhcpcd wlan0" | grep -v grep | awk '{print "kill "$1}' | sh
         ifconfig wlan0 0.0.0.0
         if [ $? != 0 ]; then
                 exit 1
@@ -19,3 +19,4 @@
         exit 2
 fi
 
+exit 0