summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xandroid/scripts/gatortest.sh14
1 files changed, 3 insertions, 11 deletions
diff --git a/android/scripts/gatortest.sh b/android/scripts/gatortest.sh
index e3331d5..4a72c6a 100755
--- a/android/scripts/gatortest.sh
+++ b/android/scripts/gatortest.sh
@@ -22,17 +22,9 @@
# owner: harigopal.gollamudi@linaro.org
#
###############################################################################
-
-if lsmod | grep "gator"
+if ps | grep "gatord"
then
- echo "gator_daemon_check=pass"
+ echo "gatord_daemon_check=pass"
else
- echo "gator_daemon_check=fail"
-fi
-
-if ps | grep "gator"
-then
- echo "gator_module_check=pass"
-else
- echo "gator_module_check=fail"
+ echo "gatord_daemon_check=fail"
fi