Re: [OpenWrt-Devel] Where init scripts are linked to rc.d?

2016-03-18 Thread Weedy
On Sat, Feb 27, 2016 at 3:38 AM, Jakub Jančo wrote: > On Sat, Feb 27, 2016 at 2:12 AM, alzhao wrote: >> Use /etc/init.d/yourscript enable >> >> It should be enabled by default, as I know. > Where do you put this command? I dont want do any tweaks after image is built. /etc/rc.local _

Re: [OpenWrt-Devel] Where init scripts are linked to rc.d?

2016-02-27 Thread Jakub Jančo
On Sat, Feb 27, 2016 at 2:12 AM, alzhao wrote: > Use /etc/init.d/yourscript enable > > It should be enabled by default, as I know. Where do you put this command? I dont want do any tweaks after image is built. As I found in ImageBuilder Makefiles, init scripts are enabled in ImageBulder instead o

Re: [OpenWrt-Devel] Where init scripts are linked to rc.d?

2016-02-26 Thread alzhao
Use /etc/init.d/yourscript enable It should be enabled by default, as I know. On Sat, 27 Feb 2016 at 03:33, Jakub Jančo wrote: > Hello, > > Im adding some custom init script in ImageBuilder throught FILES, but > these are not linked to /etc/rc.d on first boot. > > Where to hook them? > > If I ma

[OpenWrt-Devel] Where init scripts are linked to rc.d?

2016-02-26 Thread Jakub Jančo
Hello, Im adding some custom init script in ImageBuilder throught FILES, but these are not linked to /etc/rc.d on first boot. Where to hook them? If I make package, will it be linked automatically? Thanks. -- S pozdravom Jakub Janco ___ openwrt-devel