summaryrefslogtreecommitdiff
path: root/package/adktest/files/adktest.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/adktest/files/adktest.init')
-rwxr-xr-xpackage/adktest/files/adktest.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/adktest/files/adktest.init b/package/adktest/files/adktest.init
index ac1a047aa..e1fe9a8c2 100755
--- a/package/adktest/files/adktest.init
+++ b/package/adktest/files/adktest.init
@@ -11,7 +11,7 @@ autostart)
exec sh $0 start
;;
start)
- grep shell /proc/cmdline > /dev/null 2&>1
+ grep -q shell /proc/cmdline
if [ $? -eq 0 ];then
exit 0
fi