【问题标题】:Running my application after all boot up process在所有启动过程后运行我的应用程序
【发布时间】:2014-04-14 07:36:27
【问题描述】:

我想在加载所有模块后在板载(i.MX233 EVK)上运行我的应用程序。我想添加自动登录。我得到了这个链接,但程序不起作用。

Running a script after startx automatically

板子启动后,我可以在哪里添加小脚本来自动加载我的应用程序(C 语言)。

【问题讨论】:

  • 尝试时会发生什么?

标签: linux bash embedded sh


【解决方案1】:

您的问题已经在互联网上得到了数百万次的回答。例如,请查看How to run a shell script at startup

【讨论】:

    【解决方案2】:

    把你的脚本放在 /etc/init.d/rcS 或 rc 文件中,init 进程会自动执行它。

    /etc/init.d/rcS
    your_script.sh &
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-12-08
      • 1970-01-01
      • 1970-01-01
      • 2012-02-08
      相关资源
      最近更新 更多