Skip to content

Commit

Permalink
Docs: update ModemManager recommendation (#9328)
Browse files Browse the repository at this point in the history
Instead of modifying the service file provided by the distro,
use drop-in functionaly to explicitly specify the policy.
  • Loading branch information
Erovia authored Jul 7, 2020
1 parent 5eb4675 commit e6bcc23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/faq_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit e6bcc23

Please sign in to comment.