Browse Source

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>
lilik-openwrt-22.03
Karel Kočí 5 years ago
parent
commit
1ef38f45d9
No known key found for this signature in database GPG Key ID: D83BD732AC2BD828
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      utils/haveged/Makefile
  2. +1
    -1
      utils/haveged/files/haveged.init

+ 1
- 1
utils/haveged/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=haveged
PKG_VERSION:=1.9.8
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/jirka-h/haveged/tar.gz/v$(PKG_VERSION)?


+ 1
- 1
utils/haveged/files/haveged.init View File

@ -1,6 +1,6 @@
#!/bin/sh /etc/rc.common
START=13
START=01
USE_PROCD=1
HAVEGED_THRESHOLD=1024


Loading…
Cancel
Save