]> git.ipfire.org Git - thirdparty/systemd.git/blame - rules/60-sensor.rules
Merge pull request #5166 from keszybz/gcc7
[thirdparty/systemd.git] / rules / 60-sensor.rules
CommitLineData
1f886b50
BN
1# do not edit this file, it will be overwritten on update
2
3ACTION=="remove", GOTO="sensor_end"
4
5# device matching the sensor's name and the machine's DMI data for IIO devices
6SUBSYSTEM=="iio", KERNEL=="iio*", SUBSYSTEMS=="usb|i2c", \
7 IMPORT{builtin}="hwdb 'sensor:modalias:$attr{modalias}:$attr{[dmi/id]modalias}'", \
8 GOTO="sensor_end"
9
10LABEL="sensor_end"