From: Lennart Poettering Date: Tue, 28 Jun 2011 23:48:30 +0000 (+0200) Subject: logind: fix udev rule to generate valid tags, as a temporary fix until udev gains... X-Git-Tag: v30~109 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab2a782ab73d641a5077873f0dadf1f40de496e2;p=systemd logind: fix udev rule to generate valid tags, as a temporary fix until udev gains a native feature for this --- diff --git a/src/71-seat.rules b/src/71-seat.rules index c564bac3..af174f92 100644 --- a/src/71-seat.rules +++ b/src/71-seat.rules @@ -16,6 +16,6 @@ SUBSYSTEM=="usb", ATTR{bDeviceClass}=="09", TAG+="seat" SUBSYSTEM=="usb", ATTR{idVendor}=="2230", ATTR{idProduct}=="0001", ENV{ID_AUTOSEAT}="1" TAG=="seat", ENV{ID_PATH}=="", IMPORT{program}="path_id %p" -TAG=="seat", ENV{ID_FOR_SEAT}=="", ENV{ID_PATH}!="", ENV{ID_FOR_SEAT}="$env{SUBSYSTEM}-$env{ID_PATH}" +TAG=="seat", ENV{ID_FOR_SEAT}=="", ENV{ID_PATH}!="", PROGRAM="/bin/sh -c 'echo $env{ID_PATH} | /bin/sed -e s/[:.]/_/g'", ENV{ID_FOR_SEAT}="$env{SUBSYSTEM}-$result" LABEL="seat_end"