码迷,mamicode.com
首页 > 系统相关 > 详细

init.rc启动自己写的shell

时间:2015-03-13 19:05:20      阅读:234      评论:0      收藏:0      [点我收藏+]

标签:service

添加的内容
=========================华丽的分割线====================

+    start haha_test
@@ -1397,3 +1399,8 @@ service poad /system/bin/poad
     user system
     group system
     oneshot
+
+#add for haha_test
+service haha_test /system/bin/sh /system/etc/haha_test.sh
+    oneshot
+

=========================华丽的分割线====================
haha.test.sh
根据自己的情况自己去写shell脚本

本文出自 “Springtimes_hy” 博客,请务必保留此出处http://springtimes.blog.51cto.com/2681367/1620127

init.rc启动自己写的shell

标签:service

原文地址:http://springtimes.blog.51cto.com/2681367/1620127

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!