Hi.
would tell me please (show an example) how to configure the system so that the required executable file is launched at system startup.
S
sergpenshin 发布的最佳帖子
-
Yuzukilizard V851S autostart settings
-
回复: Yuzukilizard V851S autostart settings
@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!