[systemd-devel] assigning one udev attr to another
Martin Pitt
martin.pitt at ubuntu.com
Thu Jun 20 08:46:57 PDT 2013
Jason A. Donenfeld [2013-06-20 17:36 +0200]:
> I'd like to have a rule that does this:
>
> zx2c4 at thinkpad /etc/udev/rules.d $ cat 90-hotkeys.rules
> DRIVER=="thinkpad_acpi", ATTR{hotkey_mask}=ATTR{hotkey_recommended_mask}
Try
DRIVER=="thinkpad_acpi", ATTR{hotkey_mask}="$attr{hotkey_recommended_mask}"
(see "man udev")
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the systemd-devel
mailing list