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-toshiba.rules | |
parent | c8cec18f064f5cb86896e6ff17d96d73fb9fd0dc (diff) | |
download | upower-bc928f7ae8b88d05ed648b62176c0ba25c8e5770.tar.gz |
trivial: switch to using the new udev attribute names (no ABI or API break)
Diffstat (limited to 'rules/95-devkit-power-battery-recall-toshiba.rules')
-rw-r--r-- | rules/95-devkit-power-battery-recall-toshiba.rules | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/rules/95-devkit-power-battery-recall-toshiba.rules b/rules/95-devkit-power-battery-recall-toshiba.rules index e3bff7b..4119b80 100644 --- a/rules/95-devkit-power-battery-recall-toshiba.rules +++ b/rules/95-devkit-power-battery-recall-toshiba.rules @@ -2,28 +2,28 @@ # Battery recall notices: Toshiba # # 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_toshiba_end" +SUBSYSTEM!="power_supply", GOTO="up_battery_recall_toshiba_end" # only match batteries -ATTR{type}!="Battery", GOTO="dkp_battery_recall_toshiba_end" +ATTR{type}!="Battery", GOTO="up_battery_recall_toshiba_end" # only match correct manufacturer -ATTR{manufacturer}!="TOSHIBA", GOTO="dkp_battery_recall_toshiba_end" +ATTR{manufacturer}!="TOSHIBA", GOTO="up_battery_recall_toshiba_end" -ATTR{model_name}=="PA3465U", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="PA3399U", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="PA3400U", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="PA3465U", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="PA3399U", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="PA3400U", ENV{DKP_RECALL_NOTICE}="1" +ATTR{model_name}=="PA3465U", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="PA3399U", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="PA3400U", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="PA3465U", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="PA3399U", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="PA3400U", ENV{UPOWER_RECALL_NOTICE}="1" -ENV{DKP_RECALL_NOTICE}=="1", ENV{DKP_RECALL_VENDOR}="Toshiba", ENV{DKP_RECALL_URL}="http://bxinfo.toshiba.com/" +ENV{UPOWER_RECALL_NOTICE}=="1", ENV{UPOWER_RECALL_VENDOR}="Toshiba", ENV{UPOWER_RECALL_URL}="http://bxinfo.toshiba.com/" -LABEL="dkp_battery_recall_toshiba_end" +LABEL="up_battery_recall_toshiba_end" |