diff options
Diffstat (limited to 'rules/95-devkit-power-battery-recall-lenovo.rules')
-rw-r--r-- | rules/95-devkit-power-battery-recall-lenovo.rules | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/rules/95-devkit-power-battery-recall-lenovo.rules b/rules/95-devkit-power-battery-recall-lenovo.rules index 536630f..04db19e 100644 --- a/rules/95-devkit-power-battery-recall-lenovo.rules +++ b/rules/95-devkit-power-battery-recall-lenovo.rules @@ -2,23 +2,23 @@ # Battery recall notices: Lenovo # # These are properties defining the behavior: -# DKP_RECALL_NOTICE -# DKP_RECALL_VENDOR -# DKP_RECALL_URL +# UPOWER_RECALL_NOTICE +# UPOWER_RECALL_VENDOR +# UPOWER_RECALL_URL # # only match power_supply devices -SUBSYSTEM!="power_supply", GOTO="dkp_battery_recall_lenovo_end" +SUBSYSTEM!="power_supply", GOTO="up_battery_recall_lenovo_end" # only match batteries -ATTR{type}!="Battery", GOTO="dkp_battery_recall_lenovo_end" +ATTR{type}!="Battery", GOTO="up_battery_recall_lenovo_end" # only match correct manufacturer -ATTR{manufacturer}!="SANYO", GOTO="dkp_battery_recall_lenovo_end" +ATTR{manufacturer}!="SANYO", GOTO="up_battery_recall_lenovo_end" -ATTR{model_name}=="92P1131", ENV{DKP_RECALL_NOTICE}="1" +ATTR{model_name}=="92P1131", ENV{UPOWER_RECALL_NOTICE}="1" -ENV{DKP_RECALL_NOTICE}=="1", ENV{DKP_RECALL_VENDOR}="LENOVO", ENV{DKP_RECALL_URL}="http://www.lenovo.com/batteryprogram" +ENV{UPOWER_RECALL_NOTICE}=="1", ENV{UPOWER_RECALL_VENDOR}="LENOVO", ENV{UPOWER_RECALL_URL}="http://www.lenovo.com/batteryprogram" -LABEL="dkp_battery_recall_lenovo_end" +LABEL="up_battery_recall_lenovo_end" |