I have created a shell with necessary functions such as
start()
stop()
restart()
But my file is not getting started at boot time.
I have used update-rc.d command in "ubuntu" to add this file to the list of autostart applications. And it was successfully started at boot time.
But in "openwrt" I have seen an enable function. Anyone aware of how to use this enable function or is there any similar command like update-rc.d in "openwrt"
I had some reference here : http://wiki.openwrt.org/doc/techref/initscripts
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…