summaryrefslogtreecommitdiff
path: root/kvmd.install
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-10-07 03:27:00 +0300
committerDevaev Maxim <[email protected]>2020-10-07 03:27:00 +0300
commit9e03dd35a468c49a5bdf813bb7b7b6e1a2f54156 (patch)
tree78314e388b9230b9eb882adc458c9fbff7e7781f /kvmd.install
parent6ae7adfb33df2bafb810876ba54cc99689e94f03 (diff)
dr_mode=peripheral
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
}