Stephan Mueller <smuel...@chronox.de> [2019-05-28 08:34:08]:

Hi,

[...]

> > +start_service() {
> > +    procd_open_instance "urandom_seed"
> > +    procd_set_param command "/sbin/urandom_seed"
> > +    procd_set_param stdout 1
> > +    procd_set_param stderr 1
> > +    procd_close_instance
> 
> Just as a recommendation: what about the script is invoked, say, once every 
> hour or so?

unfortunately this is not an option, as currently most of the supported
devices use SPI NOR flash for the persistent storage and those flash devices
impose certain technological limits, like for example maximum number of erase
cycles for each sector of flash memory which could be around 100000 erase
cycles under certain conditions, so it might be less. That's the reason why we
don't even try to update this seed file during every boot.

-- ynezz

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to