aboutsummaryrefslogtreecommitdiffstats
path: root/docs/faq_build.md
diff options
context:
space:
mode:
authorErovia <Erovia@users.noreply.github.com>2020-07-07 19:22:38 +0100
committerGitHub <noreply@github.com>2020-07-07 19:22:38 +0100
commite6bcc232ed04f91501ab998080b1e738ac67bc37 (patch)
tree866e822ca4a1e4a4bccf800bc236a1c648030953 /docs/faq_build.md
parent5eb4675fda13783e6d1b18b7fbbe54a90a9fe68e (diff)
downloadfirmware-e6bcc232ed04f91501ab998080b1e738ac67bc37.tar.gz
firmware-e6bcc232ed04f91501ab998080b1e738ac67bc37.tar.bz2
firmware-e6bcc232ed04f91501ab998080b1e738ac67bc37.zip
Docs: update ModemManager recommendation (#9328)
Instead of modifying the service file provided by the distro, use drop-in functionaly to explicitly specify the policy.
Diffstat (limited to 'docs/faq_build.md')
-rw-r--r--docs/faq_build.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/faq_build.md b/docs/faq_build.md
index 7cfb0040d..e2d0f9b27 100644
--- a/docs/faq_build.md
+++ b/docs/faq_build.md
@@ -53,7 +53,7 @@ SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b4f", ATTRS{idProduct}=="9203", TAG+="uacc
**Note:** With older (before 1.12) ModemManager, filtering only works when not in strict mode, the following commands can update that settings:
```console
-sudo sed -i 's/--filter-policy=strict/--filter-policy=default/' /lib/systemd/system/ModemManager.service
+printf '[Service]\nExecStart=\nExecStart=/usr/sbin/ModemManager --filter-policy=default' | sudo tee /etc/systemd/system/ModemManager.service.d/policy.conf
sudo systemctl daemon-reload
sudo systemctl restart ModemManager
```