mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-26 09:57:26 +03:00
rules: merge udev-late.rules files
This commit is contained in:
parent
757ba25a8f
commit
654b036ba7
@ -3701,8 +3701,7 @@ dist_udevrules_DATA += \
|
|||||||
rules/75-net-description.rules \
|
rules/75-net-description.rules \
|
||||||
rules/75-tty-description.rules \
|
rules/75-tty-description.rules \
|
||||||
rules/78-sound-card.rules \
|
rules/78-sound-card.rules \
|
||||||
rules/80-net-setup-link.rules \
|
rules/80-net-setup-link.rules
|
||||||
rules/95-udev-late.rules
|
|
||||||
|
|
||||||
nodist_udevrules_DATA += \
|
nodist_udevrules_DATA += \
|
||||||
rules/99-systemd.rules
|
rules/99-systemd.rules
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
# do not edit this file, it will be overwritten on update
|
# do not edit this file, it will be overwritten on update
|
||||||
|
|
||||||
|
# run a command on remove events
|
||||||
|
ACTION=="remove", ENV{REMOVE_CMD}!="", RUN+="$env{REMOVE_CMD}"
|
||||||
|
|
||||||
SUBSYSTEM=="virtio-ports", KERNEL=="vport*", ATTR{name}=="?*", SYMLINK+="virtio-ports/$attr{name}"
|
SUBSYSTEM=="virtio-ports", KERNEL=="vport*", ATTR{name}=="?*", SYMLINK+="virtio-ports/$attr{name}"
|
||||||
|
|
||||||
# select "system RTC" or just use the first one
|
# select "system RTC" or just use the first one
|
||||||
@ -10,7 +13,7 @@ SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id", IMPORT{b
|
|||||||
SUBSYSTEM=="input", ENV{ID_INPUT}=="", IMPORT{builtin}="input_id"
|
SUBSYSTEM=="input", ENV{ID_INPUT}=="", IMPORT{builtin}="input_id"
|
||||||
ENV{MODALIAS}!="", IMPORT{builtin}="hwdb --subsystem=$env{SUBSYSTEM}"
|
ENV{MODALIAS}!="", IMPORT{builtin}="hwdb --subsystem=$env{SUBSYSTEM}"
|
||||||
|
|
||||||
ACTION!="add", GOTO="default_permissions_end"
|
ACTION!="add", GOTO="default_end"
|
||||||
|
|
||||||
SUBSYSTEM=="tty", KERNEL=="ptmx", GROUP="tty", MODE="0666"
|
SUBSYSTEM=="tty", KERNEL=="ptmx", GROUP="tty", MODE="0666"
|
||||||
SUBSYSTEM=="tty", KERNEL=="tty", GROUP="tty", MODE="0666"
|
SUBSYSTEM=="tty", KERNEL=="tty", GROUP="tty", MODE="0666"
|
||||||
@ -70,4 +73,4 @@ KERNEL=="tun", MODE="0666", OPTIONS+="static_node=net/tun"
|
|||||||
|
|
||||||
KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
|
KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
|
||||||
|
|
||||||
LABEL="default_permissions_end"
|
LABEL="default_end"
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
# do not edit this file, it will be overwritten on update
|
|
||||||
|
|
||||||
# run a command on remove events
|
|
||||||
ACTION=="remove", ENV{REMOVE_CMD}!="", RUN+="$env{REMOVE_CMD}"
|
|
Loading…
x
Reference in New Issue
Block a user