haveged: move init script from 13 to 01
authorKarel Kočí <karel.koci@nic.cz>
Wed, 11 Mar 2020 10:17:33 +0000 (11:17 +0100)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 14 Jun 2020 18:17:21 +0000 (21:17 +0300)
commitca1082fa1475e68bb3417b299f971bd46eb3efba
tree8a4ca3728e1dc8728fd2982640c67c7954319320
parent4176f481484eac5d30f8c6a8d682f2bf49ad58d2
haveged: move init script from 13 to 01

This is intended as a match with standard urngd. They serve same purpose
and urngd starts as first with 00. Starting haveged later can create
issues if you replace urngd with it. The example problem is if
uci-defaults script decides to generate certificate. Haveged can supply
entropy but it is started later and to mitigate this urngd would still
have to be installed. This means that haveget can't serve as replacement
without moving it to match start order of urngd.

Signed-off-by: Karel Kočí <karel.koci@nic.cz>
(cherry picked from commit 1ef38f45d982beb46b2df6d3582ad0bc2b0007ca)
utils/haveged/Makefile
utils/haveged/files/haveged.init