base-files: use procd init for urandom_seed
authorEtienne CHAMPETIER <champetier.etienne@gmail.com>
Wed, 20 Jul 2016 12:22:44 +0000 (12:22 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 26 Jul 2016 23:24:54 +0000 (01:24 +0200)
commit35e423ca41d52c0415bfd2d781482d8cf2a9b067
tree9958b484120b7acf8f63eea69920da7686456b8e
parentb8cd996d9260bd3510c9b78de77f472072202d3d
base-files: use procd init for urandom_seed

Previous implementation was blocking the init and
breaking halt/reboot/sysupgrade (reported by Daniel Golle)

v2: use procd logging, use set -e + trap for error handling

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
Tested-by: Daniel Golle <daniel@makrotopia.org>
package/base-files/files/etc/init.d/urandom_seed
package/base-files/files/sbin/urandom_seed [new file with mode: 0755]