mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 09:48:03 -08:00
Merge aa59b00a19
into 33c15ba8e8
This commit is contained in:
commit
0402c58a25
@ -73,10 +73,10 @@ SUBSYSTEM=="udc", TAG+="systemd", ENV{SYSTEMD_WANTS}+="usb-gadget.target"
|
||||
ACTION=="add", SUBSYSTEM=="net", KERNEL!="lo", RUN+="{{LIBEXECDIR}}/systemd-sysctl --prefix=/net/ipv4/conf/$name --prefix=/net/ipv4/neigh/$name --prefix=/net/ipv6/conf/$name --prefix=/net/ipv6/neigh/$name"
|
||||
|
||||
{% if ENABLE_BACKLIGHT %}
|
||||
# Pull in backlight save/restore for all backlight devices and
|
||||
# keyboard backlights
|
||||
# Pull in backlight save/restore for all backlight devices,
|
||||
# keyboard backlights, and handheld joystick rings
|
||||
SUBSYSTEM=="backlight", TAG+="systemd", IMPORT{builtin}="path_id", ENV{SYSTEMD_WANTS}+="systemd-backlight@backlight:$name.service"
|
||||
SUBSYSTEM=="leds", KERNEL=="*kbd_backlight*", TAG+="systemd", IMPORT{builtin}="path_id", ENV{SYSTEMD_WANTS}+="systemd-backlight@leds:$name.service"
|
||||
SUBSYSTEM=="leds", KERNEL=="*kbd_backlight*|*joystick_rings*", TAG+="systemd", IMPORT{builtin}="path_id", ENV{SYSTEMD_WANTS}+="systemd-backlight@leds:$name.service"
|
||||
{% endif %}
|
||||
|
||||
# Pull in rfkill save/restore for all rfkill devices
|
||||
|
Loading…
Reference in New Issue
Block a user