On 02/06/2016 09:04, Etienne Champetier wrote: > Hi John, > > Le 2 juin 2016 07:04, "John Crispin" <j...@phrozen.org > <mailto:j...@phrozen.org>> a écrit : >> >> >> On 01/06/2016 23:39, Etienne Champetier wrote: >> > Hi, >> > >> > i'm thinking about adding a urandom seed like any distro do, >> > just need to know when /etc is first monted (inside procd or via > init scripts?) >> > >> > Regards >> > Etienne >> >> from within mount_root > > First called in "boot" init script? After ubus has started? > >> >> John >> >
i was not telling the truth package/base-files/files/lib/preinit/80_mount_root it depends on what kind of setup you have. on a !overlay setup /etc will be available earlier. however after the 80_mount_root script executed, /etc should be available on all setups, so probably best to hook it int preinit as 81_urandom_seed ? John _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev