mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-16 15:20:42 +01:00
iwd.service.in: remove PrivateDevices=true
Previously, the option PrivateDevices=true disabled access to /dev/rfkill, which lead to: 'iwctl adapter phy0 set-property Powered {off|on}' to fail. This patch explicitly allows access to /dev/rfkill
This commit is contained in:
parent
236211af60
commit
4ae5c38be8
@ -11,7 +11,8 @@ LimitNPROC=1
|
|||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
NoNewPrivileges=true
|
NoNewPrivileges=true
|
||||||
PrivateDevices=true
|
DevicePolicy=closed
|
||||||
|
DeviceAllow=/dev/rfkill rw
|
||||||
ProtectHome=yes
|
ProtectHome=yes
|
||||||
ProtectSystem=strict
|
ProtectSystem=strict
|
||||||
ReadWritePaths=/var/lib/iwd/
|
ReadWritePaths=/var/lib/iwd/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user