summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-10-17 07:40:10 +0300
committerMaxim Devaev <[email protected]>2021-10-17 07:47:00 +0300
commita8294b88525b7528ecf5ccb4dcd2c476e8510df9 (patch)
treeb4a16026426cd9357aaa09b6c686bf1041bf4d68
parent2fa01ebaecd10c1cbc2f32c41c1d6c3e1df08f54 (diff)
files.pikvm.org
-rw-r--r--kvmd.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd.install b/kvmd.install
index f7d25e11..bbfc9483 100644
--- a/kvmd.install
+++ b/kvmd.install
@@ -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)