Skip to content

Commit

Permalink
rngd fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Aug 2, 2021
1 parent 61a6b28 commit 95209bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kvmd.install
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 95209bf

Please sign in to comment.