[LEDE-DEV] [PATCH v4] base-files: seed /dev/urandom

Jo-Philipp Wich jo at mein.io
Thu Jun 23 08:05:51 PDT 2016


Hi.

> why put multiple possibly unrelated functions under one option?

To have a global "write to flash is okay" option instead of needing to
change different options with different semantics in different places.

For example if I want to make the lease file persistent, I would change
the path in the config from /tmp/ to /etc/. But yes, no need to group stuff.

What about following the dnsmasq approach though?
Setting "option randomseed /etc/random.seed" would make it persistent,
the default would be empty or something in /var.

~ Jo



More information about the Lede-dev mailing list