diff options
author | Richard Hughes <richard@hughsie.com> | 2010-01-18 13:20:36 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2010-01-18 13:20:36 +0000 |
commit | bc928f7ae8b88d05ed648b62176c0ba25c8e5770 (patch) | |
tree | 48516d8209dee37818804bbbff8989902c8c0d94 /rules/95-devkit-power-battery-recall-gateway.rules | |
parent | c8cec18f064f5cb86896e6ff17d96d73fb9fd0dc (diff) |
trivial: switch to using the new udev attribute names (no ABI or API break)
Diffstat (limited to 'rules/95-devkit-power-battery-recall-gateway.rules')
-rw-r--r-- | rules/95-devkit-power-battery-recall-gateway.rules | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/rules/95-devkit-power-battery-recall-gateway.rules b/rules/95-devkit-power-battery-recall-gateway.rules index fe08a4e..b788779 100644 --- a/rules/95-devkit-power-battery-recall-gateway.rules +++ b/rules/95-devkit-power-battery-recall-gateway.rules @@ -2,27 +2,27 @@ # Battery recall notices: Gateway # # 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_gateway_end" +SUBSYSTEM!="power_supply", GOTO="up_battery_recall_gateway_end" # only match batteries -ATTR{type}!="Battery", GOTO="dkp_battery_recall_gateway_end" +ATTR{type}!="Battery", GOTO="up_battery_recall_gateway_end" # only match correct manufacturer -ATTR{manufacturer}!="Gateway", GOTO="dkp_battery_recall_gateway_end" +ATTR{manufacturer}!="Gateway", GOTO="up_battery_recall_gateway_end" -ATTR{model_name}=="916C4610F", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="916C4720F", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="916C4730F", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="916C5010F", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="W230", ENV{DKP_RECALL_NOTICE}="1" +ATTR{model_name}=="916C4610F", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="916C4720F", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="916C4730F", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="916C5010F", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="W230", ENV{UPOWER_RECALL_NOTICE}="1" -ENV{DKP_RECALL_NOTICE}=="1", ENV{DKP_RECALL_VENDOR}="Gateway", ENV{DKP_RECALL_URL}="http://www.gateway.com/battery/\n" +ENV{UPOWER_RECALL_NOTICE}=="1", ENV{UPOWER_RECALL_VENDOR}="Gateway", ENV{UPOWER_RECALL_URL}="http://www.gateway.com/battery/\n" -LABEL="dkp_battery_recall_gateway_end" +LABEL="up_battery_recall_gateway_end" |