Skip to content

Commit

Permalink
files.pikvm.org
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Oct 17, 2021
1 parent 2fa01eb commit a8294b8
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 @@ -36,6 +36,7 @@ post_upgrade() {
done

echo "==> Patching configs ..."
[ ! -f /etc/pacman.conf ] || sed -i -e "s|^Server = https://pikvm.org/repos/|Server = https://files.pikvm.org/repos/arch/|g" /etc/pacman.conf
[ ! -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)
Expand Down

0 comments on commit a8294b8

Please sign in to comment.