blob: 536630f086d547735d2863b07c347e9deaf06e87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
##############################################################################################################
# Battery recall notices: Lenovo
#
# These are properties defining the behavior:
# DKP_RECALL_NOTICE
# DKP_RECALL_VENDOR
# DKP_RECALL_URL
#
# only match power_supply devices
SUBSYSTEM!="power_supply", GOTO="dkp_battery_recall_lenovo_end"
# only match batteries
ATTR{type}!="Battery", GOTO="dkp_battery_recall_lenovo_end"
# only match correct manufacturer
ATTR{manufacturer}!="SANYO", GOTO="dkp_battery_recall_lenovo_end"
ATTR{model_name}=="92P1131", ENV{DKP_RECALL_NOTICE}="1"
ENV{DKP_RECALL_NOTICE}=="1", ENV{DKP_RECALL_VENDOR}="LENOVO", ENV{DKP_RECALL_URL}="http://www.lenovo.com/batteryprogram"
LABEL="dkp_battery_recall_lenovo_end"
|