summaryrefslogtreecommitdiff
path: root/kvmd.install
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd.install')
-rw-r--r--kvmd.install3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmd.install b/kvmd.install
index da310e44..678a38a3 100644
--- a/kvmd.install
+++ b/kvmd.install
@@ -20,5 +20,6 @@ post_upgrade() {
chown kvmd /var/lib/kvmd/msd || true
echo "==> Patching configs ..."
- sed -i -e "s/^dtoverlay=pi3-disable-bt$/dtoverlay=disable-bt/g" /boot/config.txt
+ sed -i -e 's/^dtoverlay=pi3-disable-bt$/dtoverlay=disable-bt/g' /boot/config.txt
+ sed -i -e 's/^dtoverlay=dwc2$/dtoverlay=dwc2,dr_mode=peripheral/g' /boot/config.txt
}