moby: make the modem powerable by the user, without root
this should allow migrating eg25-control to a user service
This commit is contained in:
parent
46a513b263
commit
34842c00fe
|
@ -134,5 +134,8 @@
|
|||
|
||||
# make Pinephone front LEDs writable by user.
|
||||
SUBSYSTEM=="leds", DEVPATH=="*/*:indicator", RUN+="${chmod} g+w /sys%p/brightness", RUN+="${chown} :video /sys%p/brightness"
|
||||
|
||||
# make Modem controllable by user
|
||||
DRIVER=="modem-power", RUN+="${chmod} g+w /sys%p/powered", RUN+="${chown} :networkmanager /sys%p/powered"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user