mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 15:21:37 +03:00
rules: serial - fix path_id call
This commit is contained in:
parent
0dcf1ce1f7
commit
8f2f1b1262
@ -6,7 +6,7 @@ KERNEL!="ttyUSB[0-9]*|ttyACM[0-9]*", GOTO="persistent_serial_end"
|
||||
|
||||
SUBSYSTEMS=="usb-serial", ENV{ID_PORT}="$attr{port_number}"
|
||||
|
||||
IMPORT="path_id"
|
||||
IMPORT="path_id %p"
|
||||
ENV{ID_PATH}=="?*", ENV{ID_PORT}=="", SYMLINK+="serial/by-path/$env{ID_PATH}"
|
||||
ENV{ID_PATH}=="?*", ENV{ID_PORT}=="?*", SYMLINK+="serial/by-path/$env{ID_PATH}-port$env{ID_PORT}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user