Yuzukilizard V851S autostart settings
-
Hi.
would tell me please (show an example) how to configure the system so that the required executable file is launched at system startup. -
add some command at the end of target/allwinner/{target-board}/busybox-init-base-files/etc/init.d/rc.final
在此文件的最后添加需要开机执行的命令: target/allwinner/{target-board}/busybox-init-base-files/etc/init.d/rc.final
-
@whycan
Thank you. Yes indeed, in this way it works.
But can it be done as Init Scripts?
I tried to create a script in init.d#!/bin/sh /etc/rc.common # Example script # Copyright (C) 2007 OpenWrt.org START=41 STOP=15 start() { echo start my_example } stop() { echo stop killall my_example }
Further
/etc/init.d/my_example enable
Then I made a reboot - but my_example did not start.
At the same time, the script itself is working, if execute/etc/init.d/my_example start
everything works. Apparently I did something wrong. Please help me find the error!
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号