Part Number:AM625
你好:
想配置开机自启动脚本,脚本放在etc/init.d中,在rc*.d中配置软连接,是否有类似rc.local可以查询rc的等级。
谢谢!
Shine:
我需要咨询一下产品线工程师。
,
Shine:
请看下面e2e工程师的回复。
I believe the SysVInit defines the runlevel in environment vairable $RUNLEVEL.
However, it is not common to check runlevel in a rc script, because the script would be placed in one of the rc*.d/ directory and only runs on that runlevel.https://www.ti2k.com/wp-content/uploads/ti2k/DeyiSupport_DSP_4878482