summaryrefslogtreecommitdiff
path: root/kvmd.install
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-08-02 23:10:46 +0300
committerMaxim Devaev <[email protected]>2021-08-02 23:10:46 +0300
commit95209bf84d476cb8941878c2be339bcab7c87019 (patch)
tree6b0288b5a1ab55d8729285ce4b1ef377b19dc9cf /kvmd.install
parent61a6b289f35f9c81cceee18394d35af4de1a28f0 (diff)
rngd fix
Diffstat (limited to 'kvmd.install')
-rw-r--r--kvmd.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd.install b/kvmd.install
index e561b685..c4765066 100644
--- a/kvmd.install
+++ b/kvmd.install
@@ -38,4 +38,5 @@ post_upgrade() {
echo "==> Patching configs ..."
[ ! -f /boot/config.txt ] || sed -i -e 's/^dtoverlay=pi3-disable-bt$/dtoverlay=disable-bt/g' /boot/config.txt
[ ! -f /boot/config.txt ] || sed -i -e 's/^dtoverlay=dwc2$/dtoverlay=dwc2,dr_mode=peripheral/g' /boot/config.txt
+ [ ! -f /etc/conf.d/rngd ] || (echo 'RNGD_OPTS="-o /dev/random -r /dev/hwrng -x jitter -x pkcs11 -x rtlsdr"' > /etc/conf.d/rngd)
}